mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
185 B
Plaintext
9 lines
185 B
Plaintext
error: encountered dangling pointer in final constant
|
|
--> $DIR/dangling-alloc-id-ice.rs:8:1
|
|
|
|
|
LL | const FOO: &() = {
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 1 previous error
|
|
|