summaryrefslogtreecommitdiffstats
path: root/tests/ui/rmeta/rmeta.rs
blob: 63ed236505e2d9546cda0a9f727b2a978bc31eb3 (plain)
1
2
3
4
5
6
7
8
// no-prefer-dynamic
// compile-flags: --emit=metadata

// Check that building a metadata crate finds an error.

fn main() {
    let _ = Foo; //~ ERROR cannot find value `Foo` in this scope
}