mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 17:40:16 +00:00
10 lines
158 B
Rust
10 lines
158 B
Rust
//@ compile-flags: -Zvalidate-mir
|
|
|
|
fn _test() {
|
|
let x = || 45;
|
|
missing();
|
|
//~^ ERROR cannot find function `missing` in this scope
|
|
}
|
|
|
|
fn main() {}
|