2017-12-10 22:47:55 +03:00
|
|
|
error[E0282]: type annotations needed
|
|
|
|
--> $DIR/unconstrained-ref.rs:16:5
|
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | S { o: &None }; //~ ERROR type annotations needed [E0282]
|
2017-12-10 22:47:55 +03:00
|
|
|
| ^ cannot infer type for `T`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-02-19 21:40:25 +01:00
|
|
|
If you want more information on this error, try using "rustc --explain E0282"
|