about summary refs log tree commit diff
path: root/src/test/ui/inference/inference-variable-behind-raw-pointer.stderr
diff options
context:
space:
mode:
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.stderr2
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 c38f57912ad..3dea09e7f52 100644
--- a/src/test/ui/inference/inference-variable-behind-raw-pointer.stderr
+++ b/src/test/ui/inference/inference-variable-behind-raw-pointer.stderr
@@ -4,9 +4,9 @@ warning: type annotations needed
 LL |     if data.is_null() {}
    |             ^^^^^^^
    |
-   = note: `#[warn(tyvar_behind_raw_pointer)]` on by default
    = 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>
+   = note: `#[warn(tyvar_behind_raw_pointer)]` on by default
 
 warning: 1 warning emitted