rust/tests/ui/editions/auxiliary/edition-imports-2018.rs
2023-01-11 09:32:08 +00:00

18 lines
306 B
Rust

// edition:2018
#[macro_export]
macro_rules! gen_imports { () => {
use import::Path;
use std::collections::LinkedList;
fn check_absolute() {
::absolute::Path;
::std::collections::LinkedList::<u8>::new();
}
}}
#[macro_export]
macro_rules! gen_glob { () => {
use *;
}}