]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0395.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / error-codes / E0395.stderr
1 error[E0658]: comparing raw pointers inside static (see issue #53020)
2   --> $DIR/E0395.rs:6:22
3    |
4 LL | static BAZ: bool = { (&FOO as *const i32) == (&BAR as *const i32) }; //~ ERROR issue #53020
5    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: add #![feature(const_compare_raw_pointers)] to the crate attributes to enable
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0658`.