2018-02-18 03:07:52 +00:00
|
|
|
warning: type annotations needed
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/inference-variable-behind-raw-pointer.rs:8:13
|
2017-12-14 17:51:25 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | if data.is_null() {}
|
2017-12-14 17:51:25 +00:00
|
|
|
| ^^^^^^^
|
|
|
|
|
|
2021-06-16 12:27:44 +00:00
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
2017-12-21 16:20:53 +00:00
|
|
|
= note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>
|
2022-09-18 15:55:36 +00:00
|
|
|
= note: `#[warn(tyvar_behind_raw_pointer)]` on by default
|
2017-12-14 17:51:25 +00:00
|
|
|
|
2020-03-11 15:30:09 +00:00
|
|
|
warning: 1 warning emitted
|
|
|
|
|