2022-02-16 19:48:39 +00:00
|
|
|
// aux-build:test-macros.rs
|
|
|
|
// compile-flags: -Z span-debug
|
2023-01-06 10:37:53 +00:00
|
|
|
// revisions: local remapped
|
2023-01-06 11:49:07 +00:00
|
|
|
// [local] no-remap-src-base: The hack should work regardless of remapping.
|
|
|
|
// [remapped] remap-src-base
|
2022-02-16 19:48:39 +00:00
|
|
|
|
|
|
|
#![no_std] // Don't load unnecessary hygiene information from std
|
|
|
|
extern crate std;
|
|
|
|
|
|
|
|
#[macro_use] extern crate test_macros;
|
|
|
|
|
|
|
|
mod first {
|
|
|
|
include!("pretty-print-hack/allsorts-rental-0.5.6/src/lib.rs");
|
|
|
|
}
|
|
|
|
|
|
|
|
mod second {
|
|
|
|
include!("pretty-print-hack/rental-0.5.5/src/lib.rs");
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|