mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 05:53:45 +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…
Reference in a new issue