blob: de05868ebf933277df7e06b3ca698b2436f4ad6f [file] [log] [blame]
//@ check-pass
//@ edition:2018
//@ aux-build:edition-imports-2015.rs
#[macro_use]
extern crate edition_imports_2015;
mod import {
pub struct Path;
}
mod absolute {
pub struct Path;
}
mod check {
#[derive(Derive2015)] // OK
struct S;
fn check() {
Path;
}
}
fn main() {}