Skip to content

Commit 82b86e5

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

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.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct S7;
2222
#[cfg(a = 10)] //~ ERROR literal in `cfg` predicate value must be a string
2323
struct S8;
2424

25-
#[cfg(a = b"hi")]
25+
#[cfg(a = b"hi")] //~ ERROR literal in `cfg` predicate value must be a string
2626
struct S9;
2727

2828
macro_rules! generate_s10 {

0 commit comments

Comments
 (0)