]> git.lizzy.rs Git - rust.git/commitdiff
add expected error comment
authorEsteban Kuber <estebank@users.noreply.github.com>
Tue, 23 Oct 2018 01:03:11 +0000 (09:03 +0800)
committerGitHub <noreply@github.com>
Tue, 23 Oct 2018 01:03:11 +0000 (09:03 +0800)
Co-Authored-By: csmoe <csmoe@msn.com>
src/test/ui/conditional-compilation/cfg-attr-syntax-validation.rs

index 539c0777d66bc3d1a4c6c483c465ffa9c7096154..83e162e08712fd5f087f0102213e219c0ec9d91e 100644 (file)
@@ -22,7 +22,7 @@
 #[cfg(a = 10)] //~ ERROR literal in `cfg` predicate value must be a string
 struct S8;
 
-#[cfg(a = b"hi")]
+#[cfg(a = b"hi")]  //~ ERROR literal in `cfg` predicate value must be a string
 struct S9;
 
 macro_rules! generate_s10 {