2018-08-08 07:28:26 -05:00
|
|
|
error: type annotations needed
|
2019-04-22 11:35:37 -05:00
|
|
|
--> $DIR/edition-raw-pointer-method-2015.rs:9:15
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | let _ = y.is_null();
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level defined here
|
2019-04-22 11:35:37 -05:00
|
|
|
--> $DIR/edition-raw-pointer-method-2015.rs:5:8
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | #[deny(warnings)]
|
|
|
|
| ^^^^^^^^
|
2019-07-16 15:17:38 -05:00
|
|
|
= note: `#[deny(tyvar_behind_raw_pointer)]` implied by `#[deny(warnings)]`
|
2018-08-08 07:28:26 -05:00
|
|
|
= 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>
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|