mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-06 13:44:13 +00:00
28 lines
995 B
Plaintext
28 lines
995 B
Plaintext
error: reached the recursion limit finding the struct tail for `Bottom`
|
|
|
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "20"]`
|
|
|
|
error[E0055]: reached the recursion limit while auto-dereferencing `J`
|
|
--> $DIR/recursion_limit_deref.rs:51:22
|
|
|
|
|
LL | let x: &Bottom = &t;
|
|
| ^^ deref recursion limit reached
|
|
|
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "20"]` attribute to your crate (`recursion_limit_deref`)
|
|
|
|
error[E0308]: mismatched types
|
|
--> $DIR/recursion_limit_deref.rs:51:22
|
|
|
|
|
LL | let x: &Bottom = &t;
|
|
| ------- ^^ expected `&Bottom`, found `&Top`
|
|
| |
|
|
| expected due to this
|
|
|
|
|
= note: expected reference `&Bottom`
|
|
found reference `&Top`
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
Some errors have detailed explanations: E0055, E0308.
|
|
For more information about an error, try `rustc --explain E0055`.
|