rust/tests/ui/mir/validate/error-body.rs

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

10 lines
158 B
Rust
Raw Normal View History

//@ compile-flags: -Zvalidate-mir
fn _test() {
let x = || 45;
missing();
//~^ ERROR cannot find function `missing` in this scope
}
fn main() {}