1
Fork 0
rust/src/test/ui/inference-variable-behind-raw-pointer.stderr

11 lines
446 B
Text
Raw Normal View History

warning: type annotations needed
--> $DIR/inference-variable-behind-raw-pointer.rs:18:13
|
2018-02-23 03:42:32 +03:00
LL | if data.is_null() {}
| ^^^^^^^
|
= note: #[warn(tyvar_behind_raw_pointer)] on by default
2018-03-08 13:23:52 -08:00
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 epoch!
= note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>