]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/pretty-print-hack-show.rs
Auto merge of #106627 - Ezrashaw:no-e0711-without-staged-api, r=Mark-Simulacrum
[rust.git] / tests / ui / proc-macro / pretty-print-hack-show.rs
1 // aux-build:test-macros.rs
2 // compile-flags: -Z span-debug
3 // revisions: local remapped
4 // [remapped]compile-flags: --remap-path-prefix={{src-base}}=remapped
5
6 // The remapped paths are not normalized by compiletest.
7 // normalize-stdout-test: "\\(proc-macro|pretty-print-hack)" -> "/$1"
8 // normalize-stderr-test: "\\(proc-macro|pretty-print-hack)" -> "/$1"
9
10 #![no_std] // Don't load unnecessary hygiene information from std
11 extern crate std;
12
13 #[macro_use] extern crate test_macros;
14
15 mod first {
16     include!("pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs");
17 }
18
19 mod second {
20     include!("pretty-print-hack/rental-0.5.5/src/lib.rs");
21 }
22
23 fn main() {}