]> git.lizzy.rs Git - rust.git/blob - tests/ui/inference/inference-variable-behind-raw-pointer.stderr
Rollup merge of #106849 - WaffleLapkin:unvec, r=Nilstrieb
[rust.git] / tests / ui / inference / inference-variable-behind-raw-pointer.stderr
1 warning: type annotations needed
2   --> $DIR/inference-variable-behind-raw-pointer.rs:8:13
3    |
4 LL |     if data.is_null() {}
5    |             ^^^^^^^
6    |
7    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
8    = note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>
9    = note: `#[warn(tyvar_behind_raw_pointer)]` on by default
10
11 warning: 1 warning emitted
12