X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Fui%2Fproc-macro%2Fpretty-print-hack-show.rs;h=24a389c450ea01d176cab209eb54b3cf4430c8cf;hb=dc1d9d50fba2f6a1ccab8748a0050cde38253f60;hp=9b1899e49220e16818f800e0f48008ed9872d3bf;hpb=c61f29ca52e137e18a4b64e4388741cc2dc4f926;p=rust.git diff --git a/tests/ui/proc-macro/pretty-print-hack-show.rs b/tests/ui/proc-macro/pretty-print-hack-show.rs index 9b1899e4922..24a389c450e 100644 --- a/tests/ui/proc-macro/pretty-print-hack-show.rs +++ b/tests/ui/proc-macro/pretty-print-hack-show.rs @@ -1,5 +1,8 @@ // aux-build:test-macros.rs // compile-flags: -Z span-debug +// revisions: local remapped +// [local] no-remap-src-base: The hack should work regardless of remapping. +// [remapped] remap-src-base #![no_std] // Don't load unnecessary hygiene information from std extern crate std;