mirror of https://github.com/rust-lang/rust
13 lines
436 B
Plaintext
13 lines
436 B
Plaintext
error[E0308]: mismatched types
|
|
--> $DIR/point-to-type-err-cause-on-impl-trait-return-2.rs:9:41
|
|
|
|
|
LL | let value: &bool = unsafe { &42 };
|
|
| ^^^ expected `&bool`, found `&{integer}`
|
|
|
|
|
= note: expected reference `&bool`
|
|
found reference `&{integer}`
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|