rust/tests/ui/rmeta/rmeta.rs

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

9 lines
192 B
Rust
Raw Normal View History

2016-11-10 05:29:27 +00:00
// no-prefer-dynamic
// compile-flags: --emit=metadata
2016-11-10 05:29:27 +00:00
// Check that building a metadata crate finds an error.
fn main() {
let _ = Foo; //~ ERROR cannot find value `Foo` in this scope
2016-11-10 05:29:27 +00:00
}