mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
13 lines
444 B
Plaintext
13 lines
444 B
Plaintext
warning: type annotations needed
|
|
--> $DIR/inference-variable-behind-raw-pointer.rs:8:13
|
|
|
|
|
LL | if data.is_null() {}
|
|
| ^^^^^^^
|
|
|
|
|
= warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
|
|
= note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>
|
|
= note: `#[warn(tyvar_behind_raw_pointer)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|