diff options
| author | Esteban Kuber <estebank@users.noreply.github.com> | 2018-10-23 09:03:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-23 09:03:11 +0800 |
| commit | 82b86e53e0a02631cbd98c83c7bc4d9ba3ca3225 (patch) | |
| tree | b0ae41d2f296a322cbf8acb414cf259271bb6006 | |
| parent | a76690f6a4292a9ca67e9b0efc70c2a82fb9f187 (diff) | |
| download | rust-82b86e53e0a02631cbd98c83c7bc4d9ba3ca3225.tar.gz rust-82b86e53e0a02631cbd98c83c7bc4d9ba3ca3225.zip | |
add expected error comment
Co-Authored-By: csmoe <csmoe@msn.com>
| -rw-r--r-- | src/test/ui/conditional-compilation/cfg-attr-syntax-validation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/conditional-compilation/cfg-attr-syntax-validation.rs b/src/test/ui/conditional-compilation/cfg-attr-syntax-validation.rs index 539c0777d66..83e162e0871 100644 --- a/src/test/ui/conditional-compilation/cfg-attr-syntax-validation.rs +++ b/src/test/ui/conditional-compilation/cfg-attr-syntax-validation.rs @@ -22,7 +22,7 @@ struct S7; #[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 { |
