You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This option guards the logic of writing long type names in files and
instead using short forms in error messages in rustc_middle/ty/error
behind a flag. The main motivation for this change is to disable this
behaviour when running ui tests.
This logic can be triggered by running tests in a directory that has a
long enough path, e.g. /my/very-long-path/where/rust-codebase/exists/
This means ui tests can fail depending on how long the path to their
file is.
Some ui tests actually rely on this behaviour for their assertions,
so for those we enable the flag manually.
Copy file name to clipboardExpand all lines: tests/ui/issues/issue-23122-2.stderr
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
error[E0275]: overflow evaluating the requirement `<<<<<<<... as Next>::Next as Next>::Next as Next>::Next as Next>::Next as Next>::Next as Next>::Next as Next>::Next: Sized`
2
-
--> $DIR/issue-23122-2.rs:11:17
2
+
--> $DIR/issue-23122-2.rs:12:17
3
3
|
4
4
LL | type Next = <GetNext<T::Next> as Next>::Next;
5
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
6
|
7
7
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_23122_2`)
8
8
note: required for `GetNext<<<<<<<... as Next>::Next as Next>::Next as Next>::Next as Next>::Next as Next>::Next as Next>::Next>` to implement `Next`
0 commit comments