diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-05-06 01:25:49 +0200 |
|---|---|---|
| committer | León Orell Valerian Liehr <me@fmease.dev> | 2024-05-10 09:16:27 +0200 |
| commit | 0ad3c5da72469c848e321ddee207f9a5dfbf9876 (patch) | |
| tree | 0466f1bf8bf98324cf1c0c6f627266239d92aca0 /tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs | |
| parent | 7c4ac0603e9ee5295bc802c90575391288a69a8a (diff) | |
| download | rust-0ad3c5da72469c848e321ddee207f9a5dfbf9876.tar.gz rust-0ad3c5da72469c848e321ddee207f9a5dfbf9876.zip | |
Fix parse error message for meta items
Diffstat (limited to 'tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs')
| -rw-r--r-- | tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs b/tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs index 408eaffccf7..d8852812492 100644 --- a/tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs +++ b/tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs @@ -28,8 +28,8 @@ struct S9; macro_rules! generate_s10 { ($expr: expr) => { #[cfg(feature = $expr)] - //~^ ERROR expected unsuffixed literal or identifier, found `concat!("nonexistent")` - //~| ERROR expected unsuffixed literal or identifier, found `concat!("nonexistent")` + //~^ ERROR expected unsuffixed literal, found `concat!("nonexistent")` + //~| ERROR expected unsuffixed literal, found `concat!("nonexistent")` struct S10; } } |
