rust/src/test/ui/inference/inference-variable-behind-raw-pointer.stderr

13 lines
453 B
Plaintext
Raw Normal View History

warning: type annotations needed
2018-12-25 09:56:47 -06:00
--> $DIR/inference-variable-behind-raw-pointer.rs:8:13
|
2018-02-22 18:42:32 -06:00
LL | if data.is_null() {}
| ^^^^^^^
|
= note: `#[warn(tyvar_behind_raw_pointer)]` on by default
= warning: this is valid in the current edition (Rust 2015) but is not accepted in the Rust 2018 edition!
= note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>
warning: 1 warning emitted