diff options
| author | bors <bors@rust-lang.org> | 2025-04-02 00:36:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-04-02 00:36:04 +0000 |
| commit | 70dab5a27c03a5637cc1d4ba36a5139760d25e38 (patch) | |
| tree | 8f05b860d614f2eb7ad27d94bd99678659b8f32e /tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs | |
| parent | 9b7d5ac8180f70110e94f92ccbf8fa2263d24c73 (diff) | |
| parent | 592d113ff24b91290022d9f1aae271598ff235fa (diff) | |
| download | rust-70dab5a27c03a5637cc1d4ba36a5139760d25e38.tar.gz rust-70dab5a27c03a5637cc1d4ba36a5139760d25e38.zip | |
Auto merge of #138478 - nnethercote:rm-NtExpr-NtLiteral, r=petrochenkov
Remove `NtExpr` and `NtLiteral` The next part of #124141. r? `@petrochenkov`
Diffstat (limited to 'tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs')
| -rw-r--r-- | tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs b/tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs index 416145a0c15..47418b4e091 100644 --- a/tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs +++ b/tests/ui/conditional-compilation/cfg-attr-syntax-validation.rs @@ -28,7 +28,7 @@ struct S9; macro_rules! generate_s10 { ($expr: expr) => { #[cfg(feature = $expr)] - //~^ ERROR expected unsuffixed literal, found expression `concat!("nonexistent")` + //~^ ERROR expected unsuffixed literal, found `expr` metavariable struct S10; } } |
