summaryrefslogtreecommitdiffstats
path: root/tests/ui/inference/need_type_info/issue-103053.stderr
blob: 84f0475d8cdac9e315fb370a518036850a7d4e41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0282]: type annotations needed
  --> $DIR/issue-103053.rs:15:5
   |
LL |     None;
   |     ^^^^ cannot infer type of the type parameter `T` declared on the enum `Option`
   |
help: consider specifying the generic argument
   |
LL |     None::<T>;
   |         +++++

error: aborting due to previous error

For more information about this error, try `rustc --explain E0282`.