diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-05-11 13:16:35 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-11 13:16:35 +0900 |
| commit | 514b585757126a09785765bc5177299cd5bb5e2d (patch) | |
| tree | e01a32cbbf4c01a5b1fcd4eb989d8102a228d4b6 /src/test | |
| parent | 304c116b408b1d5f394c7218454c4fdd90c69b75 (diff) | |
| parent | aea3b22b069c27f8875d20977bef43178a4b6d87 (diff) | |
| download | rust-514b585757126a09785765bc5177299cd5bb5e2d.tar.gz rust-514b585757126a09785765bc5177299cd5bb5e2d.zip | |
Rollup merge of #96925 - c410-f3r:z-errors, r=JohnTitor
Fix issue #95151 Fixes #95151 Nothing special here, just a test for a thing that used to ICE.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/rfc-2091-track-caller/macro-declaration.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/rfc-2091-track-caller/macro-declaration.rs b/src/test/ui/rfc-2091-track-caller/macro-declaration.rs new file mode 100644 index 00000000000..6ca09fac819 --- /dev/null +++ b/src/test/ui/rfc-2091-track-caller/macro-declaration.rs @@ -0,0 +1,10 @@ +// check-pass + +// See https://github.com/rust-lang/rust/issues/95151 +#[track_caller] +macro_rules! _foo { + () => {}; +} + +fn main() { +} |
