rust/tests/ui/lint/internal/trivial-diagnostics.rs

9 lines
199 B
Rust
Raw Normal View History

// compile-flags: -Zunstable-options
pub fn issue_111280() {
struct_span_err(msg).emit(); //~ ERROR cannot find value `msg`
//~^ ERROR cannot find function `struct_span_err`
}
fn main() {}