]> git.proxmox.com Git - rustc.git/blob - tests/ui/traits/copy-guessing.stderr
New upstream version 1.71.1+dfsg1
[rustc.git] / tests / ui / traits / copy-guessing.stderr
1 error[E0282]: type annotations needed for `Option<T>`
2 --> $DIR/copy-guessing.rs:20:9
3 |
4 LL | let n = None;
5 | ^
6 |
7 help: consider giving `n` an explicit type, where the type for type parameter `T` is specified
8 |
9 LL | let n: Option<T> = None;
10 | +++++++++++
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0282`.