summaryrefslogtreecommitdiffstats
path: root/src/test/ui/specialization/issue-45814.current.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/specialization/issue-45814.current.stderr')
-rw-r--r--src/test/ui/specialization/issue-45814.current.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/specialization/issue-45814.current.stderr b/src/test/ui/specialization/issue-45814.current.stderr
new file mode 100644
index 000000000..5013559b8
--- /dev/null
+++ b/src/test/ui/specialization/issue-45814.current.stderr
@@ -0,0 +1,14 @@
+error[E0275]: overflow evaluating the requirement `T: Trait<_>`
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_45814`)
+note: required for `T` to implement `Trait<_>`
+ --> $DIR/issue-45814.rs:9:20
+ |
+LL | default impl<T, U> Trait<T> for U {}
+ | ^^^^^^^^ ^
+ = note: 128 redundant requirements hidden
+ = note: required for `T` to implement `Trait<_>`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0275`.