mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
activate assoc item test
This commit is contained in:
parent
634cfe3d72
commit
1883d1f141
1 changed files with 2 additions and 2 deletions
|
@ -112,12 +112,12 @@ fn f() {
|
||||||
struct Foo;
|
struct Foo;
|
||||||
impl Foo {
|
impl Foo {
|
||||||
#[cfg(any())] pub fn f() {}
|
#[cfg(any())] pub fn f() {}
|
||||||
//*************************** weak: code is inactive due to #[cfg] directives
|
//^^^^^^^^^^^^^^^^^^^^^^^^^^^ weak: code is inactive due to #[cfg] directives
|
||||||
}
|
}
|
||||||
|
|
||||||
trait Bar {
|
trait Bar {
|
||||||
#[cfg(any())] pub fn f() {}
|
#[cfg(any())] pub fn f() {}
|
||||||
//*************************** weak: code is inactive due to #[cfg] directives
|
//^^^^^^^^^^^^^^^^^^^^^^^^^^^ weak: code is inactive due to #[cfg] directives
|
||||||
}
|
}
|
||||||
"#,
|
"#,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue