2017-01-05 17:17:12 -06:00
|
|
|
error[E0055]: reached the recursion limit while auto-dereferencing I
|
|
|
|
--> $DIR/recursion_limit_deref.rs:60:22
|
|
|
|
|
|
|
|
|
60 | let x: &Bottom = &t;
|
|
|
|
| ^^ deref recursion limit reached
|
|
|
|
|
|
|
|
|
= help: consider adding a `#[recursion_limit="20"]` attribute to your crate
|
|
|
|
|
|
|
|
error[E0055]: reached the recursion limit while auto-dereferencing I
|
|
|
|
|
|
|
|
|
= help: consider adding a `#[recursion_limit="20"]` attribute to your crate
|
|
|
|
|
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/recursion_limit_deref.rs:60:22
|
|
|
|
|
|
|
|
|
60 | let x: &Bottom = &t;
|
|
|
|
| ^^ expected struct `Bottom`, found struct `Top`
|
|
|
|
|
|
|
|
|
= note: expected type `&Bottom`
|
|
|
|
found type `&Top`
|
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to 3 previous errors
|
2017-01-05 17:17:12 -06:00
|
|
|
|