2017-01-05 17:17:12 -06:00
|
|
|
error[E0055]: reached the recursion limit while auto-dereferencing I
|
2017-11-20 06:13:27 -06:00
|
|
|
--> $DIR/recursion_limit_deref.rs:62:22
|
2017-01-05 17:17:12 -06:00
|
|
|
|
|
2017-11-20 06:13:27 -06:00
|
|
|
62 | let x: &Bottom = &t; //~ ERROR mismatched types
|
2017-01-05 17:17:12 -06:00
|
|
|
| ^^ 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
|
2017-11-20 06:13:27 -06:00
|
|
|
--> $DIR/recursion_limit_deref.rs:62:22
|
2017-01-05 17:17:12 -06:00
|
|
|
|
|
2017-11-20 06:13:27 -06:00
|
|
|
62 | let x: &Bottom = &t; //~ ERROR mismatched types
|
2017-01-05 17:17:12 -06:00
|
|
|
| ^^ 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
|
|
|
|