rust/src/test/ui/unconstrained-ref.stderr

10 lines
302 B
Plaintext
Raw Normal View History

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]
| ^ 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"