fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
995 B27 linesraw
1error: reached the recursion limit finding the struct tail for `Bottom`
2   |
3   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "20"]`
4
5error[E0055]: reached the recursion limit while auto-dereferencing `J`
6  --> $DIR/recursion_limit_deref.rs:51:22
7   |
8LL |     let x: &Bottom = &t;
9   |                      ^^ deref recursion limit reached
10   |
11   = help: consider increasing the recursion limit by adding a `#![recursion_limit = "20"]` attribute to your crate (`recursion_limit_deref`)
12
13error[E0308]: mismatched types
14  --> $DIR/recursion_limit_deref.rs:51:22
15   |
16LL |     let x: &Bottom = &t;
17   |            -------   ^^ expected `&Bottom`, found `&Top`
18   |            |
19   |            expected due to this
20   |
21   = note: expected reference `&Bottom`
22              found reference `&Top`
23
24error: aborting due to 3 previous errors
25
26Some errors have detailed explanations: E0055, E0308.
27For more information about an error, try `rustc --explain E0055`.