]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rmeta.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / 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 }