Closed
Description
Code
I tried this code:
macro_rules! stringify_vis {
($v:vis) => { stringify!($v) }
}
fn main() {
println!("{}", stringify_vis!(pub(in crate)));
}
I expected to see this happen: it to print pub(in crate)
.
Instead, this happened: it prints pub(crate)
.
Version it worked on
It most recently worked on: 1.62.1
Version with regression
rustc --version --verbose
:
rustc 1.63.0-beta.7 (12c5b1ef3 2022-07-22)
binary: rustc
commit-hash: 12c5b1ef3882fa824a7dc6054f9f15732b44c863
commit-date: 2022-07-22
host: x86_64-unknown-linux-gnu
release: 1.63.0-beta.7
LLVM version: 14.0.5
Backtrace
Backtrace
<backtrace>
@rustbot modify labels: +regression-from-stable-to-beta -regression-untriaged