You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the date of submission, 2018-08-04, I first assumed that they must've used version 1.28 (released: 2018-07-30) but I couldn't repro it there. Then I randomly chose 1.25 (released: 2018-03-25) and bingo!
In 1.25, the code I've posted above fails with:
error: expected unsuffixed literal or identifier, found ::
--> file.rs:5:19
|
5 | accept!(#[my_attr(::foo::bar)]);
| ^^
We might have better tests for this but I don't want to "grep around" rn. Tentatively tagging with E-needs-test but it might not need one, needs investigation first.
Activity
Enselic commentedon Nov 16, 2023
Triage: Can you give complete reproduction steps please? Ideally something to copy-paste into the terminal that reproduces the problem. Thanks!
fmease commentedon Aug 15, 2025
I'm assuming they referred to something like:
Looking at the date of submission, 2018-08-04, I first assumed that they must've used version 1.28 (released: 2018-07-30) but I couldn't repro it there. Then I randomly chose 1.25 (released: 2018-03-25) and bingo!
In 1.25, the code I've posted above fails with:
and in 1.28 and on nightly, it passes.
fmease commentedon Aug 15, 2025
Next, grepping for
#\[\w+\(::intests/I foundSo we have a test for that, kinda.
fmease commentedon Aug 16, 2025
We might have better tests for this but I don't want to "grep around" rn. Tentatively tagging with E-needs-test but it might not need one, needs investigation first.
KevinA-cpu commentedon Aug 20, 2026
@rustbot claim
Rollup merge of rust-lang#161412 - KevinA-cpu:regression-test-53048, …
Unrolled build for #161412 in rollup 164061