rust/tests/ui/imports/import-after-macro-expand-11.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
226 B
Rust
Raw Permalink Normal View History

//@ check-pass
#[derive(Debug)]
struct H;
mod p {
use super::*;
#[derive(Clone)]
struct H;
mod t {
use super::*;
fn f() {
let h: crate::p::H = H;
}
}
}
fn main() {}