Skip to content

Commit 5c80d90

Browse files
committed
add a link to issue 154487
1 parent af80b0f commit 5c80d90

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/ui/lint/unused-features/used-doc-cfg.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
//@ check-pass
22
//@ compile-flags: --check-cfg=cfg(feature,values("enabled_feature"))
3+
// Regression test for https://github.com/rust-lang/rust/issues/154487
4+
35
#![crate_type = "lib"]
46
#![deny(unused_features)]
57
#![feature(doc_cfg)]

0 commit comments

Comments
 (0)