mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
11 lines
229 B
Rust
11 lines
229 B
Rust
//@ aux-build:issue-11680.rs
|
|
|
|
extern crate issue_11680 as other;
|
|
|
|
fn main() {
|
|
let _b = other::Foo::Bar(1);
|
|
//~^ ERROR: enum `Foo` is private
|
|
|
|
let _b = other::test::Foo::Bar(1);
|
|
//~^ ERROR: enum `Foo` is private
|
|
}
|