summary refs log tree commit diff
path: root/src/test/ui/inference/inference-variable-behind-raw-pointer.stderr
blob: 12848982b8d28750791de19ac4aadaac64064ef4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
warning: type annotations needed
  --> $DIR/inference-variable-behind-raw-pointer.rs:8:13
   |
LL |     if data.is_null() {}
   |             ^^^^^^^
   |
   = note: `#[warn(tyvar_behind_raw_pointer)]` on by default
   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition!
   = note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906>

warning: 1 warning emitted