2024-11-24 17:37:25 -08:00
|
|
|
//@ proc-macro: test-macros.rs
|
2022-02-16 14:48:39 -05:00
|
|
|
//@ compile-flags: -Z span-debug
|
2023-01-06 10:37:53 +00:00
|
|
|
//@ revisions: local remapped
|
2023-01-06 11:49:07 +00:00
|
|
|
//@ [remapped] remap-src-base
|
2022-02-16 14:48:39 -05: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() {}
|
2025-03-23 15:50:51 +03:00
|
|
|
|
|
|
|
|
//~? ERROR using an old version of `rental`
|