2018-02-17 21:07:52 -06:00
|
|
|
warning: type annotations needed
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/inference-variable-behind-raw-pointer.rs:8:13
|
2017-12-14 11:51:25 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | if data.is_null() {}
|
2017-12-14 11:51:25 -06:00
|
|
|
| ^^^^^^^
|
|
|
|
|
|
2017-12-21 10:20:53 -06:00
|
|
|
= note: #[warn(tyvar_behind_raw_pointer)] on by default
|
2018-03-14 22:30:06 -05:00
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
|
2017-12-21 10:20:53 -06:00
|
|
|
= note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>
|
2017-12-14 11:51:25 -06:00
|
|
|
|