]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rmeta/rmeta.rs
Merge commit '3c7e7dbc1583a0b06df5bd7623dd354a4debd23d' into clippyup
[rust.git] / src / test / ui / rmeta / rmeta.rs
1 // no-prefer-dynamic
2 // compile-flags: --emit=metadata
3
4 // Check that building a metadata crate finds an error.
5
6 fn main() {
7     let _ = Foo; //~ ERROR cannot find value `Foo` in this scope
8 }