fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0282]: type annotations needed for `Option<T>` 2 --> $DIR/inference-failure.rs:8:9 3 | 4LL | let _ = NONE; 5 | ^ 6 | 7help: consider giving this pattern a type, where the type for type parameter `T` is specified 8 | 9LL | let _: Option<T> = NONE; 10 | +++++++++++ 11 12error[E0282]: type annotations needed 13 --> $DIR/inference-failure.rs:12:13 14 | 15LL | let _ = IGNORE; 16 | ^^^^^^ cannot infer type for type parameter `T` declared on the constant `IGNORE` 17 18error: aborting due to 2 previous errors 19 20For more information about this error, try `rustc --explain E0282`.