activate assoc item test

This commit is contained in:
Kartavya Vashishtha 2022-08-07 20:39:11 +05:30
parent 634cfe3d72
commit 1883d1f141
No known key found for this signature in database
GPG key ID: A50012C2324E5DF0

View file

@ -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
}
"#,
);