about summary refs log tree commit diff
path: root/tests/ui/type-inference/type-inference-unconstrained-none.rs
blob: 38a506763c7617d08486778903c4c2ba2a99c3d8 (plain)
1
2
3
4
5
//! Regression test for <https://github.com/rust-lang/rust/issues/5062>.

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