We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82b86e5 commit 81a609bCopy full SHA for 81a609b
src/test/ui/conditional-compilation/cfg-attr-syntax-validation.stderr
@@ -49,7 +49,7 @@ LL | #[cfg(a = 10)] //~ ERROR literal in `cfg` predicate value must be a string
49
error[E0565]: literal in `cfg` predicate value must be a string
50
--> $DIR/cfg-attr-syntax-validation.rs:25:11
51
|
52
-LL | #[cfg(a = b"hi")]
+LL | #[cfg(a = b"hi")] //~ ERROR literal in `cfg` predicate value must be a string
53
| ^^^^^ help: consider removing the prefix: `"hi"`
54
55
error: `cfg` is not a well-formed meta-item
0 commit comments