diff options
Diffstat (limited to 'src/test/ui/inference/inference-variable-behind-raw-pointer.stderr')
| -rw-r--r-- | src/test/ui/inference/inference-variable-behind-raw-pointer.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/inference/inference-variable-behind-raw-pointer.stderr b/src/test/ui/inference/inference-variable-behind-raw-pointer.stderr index 179f008c05a..c38f57912ad 100644 --- a/src/test/ui/inference/inference-variable-behind-raw-pointer.stderr +++ b/src/test/ui/inference/inference-variable-behind-raw-pointer.stderr @@ -5,7 +5,7 @@ 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! + = 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> warning: 1 warning emitted |
