diff options
| author | Kartavya Vashishtha <sendtokartavya@gmail.com> | 2022-08-07 20:39:11 +0530 |
|---|---|---|
| committer | Kartavya Vashishtha <sendtokartavya@gmail.com> | 2022-08-07 20:39:11 +0530 |
| commit | 1883d1f14146959cfa9cdf1ed43e5d1ad013e07e (patch) | |
| tree | ccd6c823d26a5ba03ebad168c7038542a5946a7c | |
| parent | 634cfe3d72e785c843ca5d412b12be137b2e14fb (diff) | |
| download | rust-1883d1f14146959cfa9cdf1ed43e5d1ad013e07e.tar.gz rust-1883d1f14146959cfa9cdf1ed43e5d1ad013e07e.zip | |
activate assoc item test
| -rw-r--r-- | crates/ide-diagnostics/src/handlers/inactive_code.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide-diagnostics/src/handlers/inactive_code.rs b/crates/ide-diagnostics/src/handlers/inactive_code.rs index 97ea5c456a6..6715823f1ff 100644 --- a/crates/ide-diagnostics/src/handlers/inactive_code.rs +++ b/crates/ide-diagnostics/src/handlers/inactive_code.rs @@ -112,12 +112,12 @@ fn f() { struct Foo; impl Foo { #[cfg(any())] pub fn f() {} - //*************************** weak: code is inactive due to #[cfg] directives + //^^^^^^^^^^^^^^^^^^^^^^^^^^^ weak: code is inactive due to #[cfg] directives } trait Bar { #[cfg(any())] pub fn f() {} - //*************************** weak: code is inactive due to #[cfg] directives + //^^^^^^^^^^^^^^^^^^^^^^^^^^^ weak: code is inactive due to #[cfg] directives } "#, ); |
