about summary refs log tree commit diff
path: root/src/test/ui/inference/inference-variable-behind-raw-pointer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/inference/inference-variable-behind-raw-pointer.rs')
-rw-r--r--src/test/ui/inference/inference-variable-behind-raw-pointer.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/ui/inference/inference-variable-behind-raw-pointer.rs b/src/test/ui/inference/inference-variable-behind-raw-pointer.rs
index a90b268db8c..1d508e8e820 100644
--- a/src/test/ui/inference/inference-variable-behind-raw-pointer.rs
+++ b/src/test/ui/inference/inference-variable-behind-raw-pointer.rs
@@ -1,4 +1,4 @@
-// build-pass (FIXME(62277): could be check-pass?)
+// check-pass
 
 // tests that the following code compiles, but produces a future-compatibility warning
 
@@ -6,4 +6,6 @@ fn main() {
     let data = std::ptr::null();
     let _ = &data as *const *const ();
     if data.is_null() {}
+    //~^ WARNING type annotations needed
+    //~| WARNING this was previously accepted by the compiler but is being phased out
 }