]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/error-codes/E0395.stderr
Make sure the feature gate actually works and never allows promoting these operations
[rust.git] / src / test / ui / error-codes / E0395.stderr
index 90f9ab9ec3641a1319e87be9e5de9d878fabd8d1..0fb9a9e854ddb9d5b09882c8ecd4207f4360d703 100644 (file)
@@ -1,5 +1,5 @@
 error[E0658]: comparing raw pointers inside static (see issue #53020)
-  --> $DIR/E0395.rs:14:22
+  --> $DIR/E0395.rs:16:22
    |
 LL | static BAZ: bool = { (&FOO as *const i32) == (&BAR as *const i32) }; //~ ERROR issue #53020
    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^