2023-04-02 18:50:01 +08:00
|
|
|
error: reached the recursion limit finding the struct tail for `Bottom`
|
|
|
|
|
|
|
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "20"]`
|
|
|
|
|
2020-05-26 19:48:08 +01:00
|
|
|
error[E0055]: reached the recursion limit while auto-dereferencing `J`
|
2022-03-20 20:02:18 +01:00
|
|
|
--> $DIR/recursion_limit_deref.rs:51:22
|
2017-01-05 23:17:12 +00:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | let x: &Bottom = &t;
|
2017-01-05 23:17:12 +00:00
|
|
|
| ^^ deref recursion limit reached
|
|
|
|
|
|
2021-09-28 22:16:42 +02:00
|
|
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "20"]` attribute to your crate (`recursion_limit_deref`)
|
2017-01-05 23:17:12 +00:00
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
2022-03-20 20:02:18 +01:00
|
|
|
--> $DIR/recursion_limit_deref.rs:51:22
|
2017-01-05 23:17:12 +00:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | let x: &Bottom = &t;
|
2023-01-02 18:00:33 -08:00
|
|
|
| ------- ^^ expected `&Bottom`, found `&Top`
|
2019-11-18 21:00:24 -08:00
|
|
|
| |
|
|
|
|
| expected due to this
|
2017-01-05 23:17:12 +00:00
|
|
|
|
|
2019-11-13 14:16:56 -08:00
|
|
|
= note: expected reference `&Bottom`
|
|
|
|
found reference `&Top`
|
2017-01-05 23:17:12 +00:00
|
|
|
|
2023-04-02 18:50:01 +08:00
|
|
|
error: aborting due to 3 previous errors
|
2017-01-05 23:17:12 +00:00
|
|
|
|
2019-04-17 13:26:38 -04:00
|
|
|
Some errors have detailed explanations: E0055, E0308.
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about an error, try `rustc --explain E0055`.
|