Skip to content

Commit 81a609b

Browse files
estebankcsmoe
andauthored
add expected error comment
Co-Authored-By: csmoe <[email protected]>
1 parent 82b86e5 commit 81a609b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/ui/conditional-compilation/cfg-attr-syntax-validation.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ LL | #[cfg(a = 10)] //~ ERROR literal in `cfg` predicate value must be a string
4949
error[E0565]: literal in `cfg` predicate value must be a string
5050
--> $DIR/cfg-attr-syntax-validation.rs:25:11
5151
|
52-
LL | #[cfg(a = b"hi")]
52+
LL | #[cfg(a = b"hi")] //~ ERROR literal in `cfg` predicate value must be a string
5353
| ^^^^^ help: consider removing the prefix: `"hi"`
5454

5555
error: `cfg` is not a well-formed meta-item

0 commit comments

Comments
 (0)