2019-07-02 16:30:28 -05:00
|
|
|
// build-pass (FIXME(62277): could be check-pass?)
|
2018-11-17 18:25:59 -06:00
|
|
|
// 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() {}
|