rust/tests/ui/unconstrained-none.rs

6 lines
82 B
Rust

// Issue #5062
fn main() {
None; //~ ERROR type annotations needed [E0282]
}