summary refs log tree commit diff
path: root/tests/ui/lint/wide_pointer_comparisons.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lint/wide_pointer_comparisons.rs')
-rw-r--r--tests/ui/lint/wide_pointer_comparisons.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/ui/lint/wide_pointer_comparisons.rs b/tests/ui/lint/wide_pointer_comparisons.rs
index 05097cbf1e3..a5e3f4754b8 100644
--- a/tests/ui/lint/wide_pointer_comparisons.rs
+++ b/tests/ui/lint/wide_pointer_comparisons.rs
@@ -146,12 +146,10 @@ fn main() {
     {
         macro_rules! cmp {
             ($a:tt, $b:tt) => { $a == $b }
+            //~^ WARN ambiguous wide pointer comparison
         }
 
-        // FIXME: This lint uses some custom span combination logic.
-        // Rewrite it to adapt to the new metavariable span rules.
         cmp!(a, b);
-        //~^ WARN ambiguous wide pointer comparison
     }
 
     {