rust/tests/ui/editions/auxiliary/edition-imports-2018.rs
2024-02-16 20:02:50 +00:00

18 lines
307 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 *;
}}