2018-08-08 12:28:26 +00:00
|
|
|
error: type annotations needed
|
2019-04-22 16:35:37 +00:00
|
|
|
--> $DIR/edition-raw-pointer-method-2015.rs:9:15
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | let _ = y.is_null();
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
2022-09-18 15:55:36 +00:00
|
|
|
= 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>
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2019-04-22 16:35:37 +00:00
|
|
|
--> $DIR/edition-raw-pointer-method-2015.rs:5:8
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | #[deny(warnings)]
|
|
|
|
| ^^^^^^^^
|
2019-07-16 20:17:38 +00:00
|
|
|
= note: `#[deny(tyvar_behind_raw_pointer)]` implied by `#[deny(warnings)]`
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 12:28:26 +00:00
|
|
|
|