]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/proc-macro/pretty-print-hack-show.rs
Rollup merge of #106788 - estebank:elaborate_pred_E0599, r=compiler-errors
[rust.git] / tests / ui / proc-macro / pretty-print-hack-show.rs
index 9b1899e49220e16818f800e0f48008ed9872d3bf..e9ff66ba45a08194678ad1ddb7f8135952dd4cfa 100644 (file)
@@ -1,5 +1,11 @@
 // aux-build:test-macros.rs
 // compile-flags: -Z span-debug
+// revisions: local remapped
+// [remapped]compile-flags: --remap-path-prefix={{src-base}}=remapped
+
+// The remapped paths are not normalized by compiletest.
+// normalize-stdout-test: "\\(proc-macro|pretty-print-hack)" -> "/$1"
+// normalize-stderr-test: "\\(proc-macro|pretty-print-hack)" -> "/$1"
 
 #![no_std] // Don't load unnecessary hygiene information from std
 extern crate std;