rust/tests/ui/issues/issue-11680.rs

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

12 lines
228 B
Rust
Raw Normal View History

2018-11-04 22:00:03 -06:00
// aux-build:issue-11680.rs
extern crate issue_11680 as other;
fn main() {
let _b = other::Foo::Bar(1);
2016-02-22 16:33:38 -06:00
//~^ ERROR: enum `Foo` is private
let _b = other::test::Foo::Bar(1);
2016-02-22 16:33:38 -06:00
//~^ ERROR: enum `Foo` is private
}