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