We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a64d79 commit dadd7bbCopy full SHA for dadd7bb
src/librustc_typeck/diagnostics.rs
@@ -516,7 +516,7 @@ recursion limit (which can be set via the `recursion_limit` attribute).
516
For a somewhat artificial example:
517
518
```compile_fail,E0055
519
-#![recursion_limit="2"]
+#![recursion_limit="5"]
520
521
struct Foo;
522
@@ -526,9 +526,9 @@ impl Foo {
526
527
fn main() {
528
let foo = Foo;
529
- let ref_foo = &&Foo;
+ let ref_foo = &&&&&Foo;
530
531
- // error, reached the recursion limit while auto-dereferencing `&&Foo`
+ // error, reached the recursion limit while auto-dereferencing `&&&&&Foo`
532
ref_foo.foo();
533
}
534
```
0 commit comments