]> git.proxmox.com Git - rustc.git/blob - src/test/ui/error-codes/E0396-fixed.stderr
Update upstream source from tag 'upstream/1.35.0+dfsg1'
[rustc.git] / src / test / ui / error-codes / E0396-fixed.stderr
1 error: any use of this value will cause an error
2 --> $DIR/E0396-fixed.rs:5:28
3 |
4 LL | const VALUE: u8 = unsafe { *REG_ADDR };
5 | ---------------------------^^^^^^^^^---
6 | |
7 | a memory access tried to interpret some bytes as a pointer
8 |
9 = note: #[deny(const_err)] on by default
10
11 error: aborting due to previous error
12