2018-02-17 14:18:53 +00:00
|
|
|
warning: the type of this value must be known in this context
|
2017-12-15 08:20:54 +01:00
|
|
|
--> $DIR/inference-variable-behind-raw-pointer.rs:18:13
|
2017-12-14 18:51:25 +01:00
|
|
|
|
|
2017-12-15 08:20:54 +01:00
|
|
|
18 | if data.is_null() {}
|
2017-12-14 18:51:25 +01:00
|
|
|
| ^^^^^^^
|
|
|
|
|
|
2017-12-21 11:20:53 -05:00
|
|
|
= note: #[warn(tyvar_behind_raw_pointer)] on by default
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
|
|
|
= note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>
|
2017-12-14 18:51:25 +01:00
|
|
|
|