1 error[E0055]: reached the recursion limit while auto-dereferencing I
2 --> $DIR/issue-38940.rs:43:22
4 LL | let x: &Bottom = &t;
5 | ^^ deref recursion limit reached
7 = help: consider adding a `#![recursion_limit="20"]` attribute to your crate
9 error[E0308]: mismatched types
10 --> $DIR/issue-38940.rs:43:22
12 LL | let x: &Bottom = &t;
13 | ^^ expected struct `Bottom`, found struct `Top`
15 = note: expected type `&Bottom`
18 error: aborting due to 2 previous errors
20 Some errors occurred: E0055, E0308.
21 For more information about an error, try `rustc --explain E0055`.