diff options
| author | Oliver Schneider <github35764891676564198441@oli-obk.de> | 2018-08-03 13:27:35 +0200 |
|---|---|---|
| committer | Oliver Schneider <github35764891676564198441@oli-obk.de> | 2018-08-07 14:41:33 +0200 |
| commit | a091a6567c210686fdbc77cd1c5d5bca5e86cd3d (patch) | |
| tree | c19f783c237b3ebc33df7e732e591cf386720518 /src/test/ui/error-codes | |
| parent | aa0884ecc11ec60a9fceeda8dc461798809ad1b8 (diff) | |
| download | rust-a091a6567c210686fdbc77cd1c5d5bca5e86cd3d.tar.gz rust-a091a6567c210686fdbc77cd1c5d5bca5e86cd3d.zip | |
Make sure the feature gate actually works and never allows promoting these operations
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0395.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/E0395.stderr b/src/test/ui/error-codes/E0395.stderr index 90f9ab9ec36..0fb9a9e854d 100644 --- a/src/test/ui/error-codes/E0395.stderr +++ b/src/test/ui/error-codes/E0395.stderr @@ -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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
