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