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

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

20 lines
239 B
Rust
Raw Normal View History

// check-pass
// https://github.com/rust-lang/rust/issues/56593#issue-388659456
struct Foo;
mod foo {
use super::*;
#[derive(Debug)]
pub struct Foo;
}
mod bar {
use super::foo::*;
fn bar(_: Foo) {}
}
fn main() {}