about summary refs log tree commit diff
path: root/tests/rustdoc-ui/remap-path-prefix-macro.rs
blob: 1be22694b8cdcbd1247c71ba78cead91a7db1b15 (plain)
1
2
3
4
5
6
7
8
9
// Regression test for "attempted to remap an already remapped filename" ICE in rustdoc
// when using --remap-path-prefix with macro rendering.
// <https://github.com/rust-lang/rust/issues/138520>

//@ compile-flags:-Z unstable-options --remap-path-prefix={{src-base}}=remapped_path
//@ rustc-env:RUST_BACKTRACE=0
//@ build-pass

macro_rules! f(() => {});