Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
type-inference
/
type-inference-unconstrained-none.rs
blob: 38a506763c7617d08486778903c4c2ba2a99c3d8 [
file
] [
log
] [
blame
]
//! Regression test for <https://github.com/rust-lang/rust/issues/5062>.
fn
main
()
{
None
;
//~ ERROR type annotations needed [E0282]
}