summaryrefslogtreecommitdiffstats
path: root/src/test/ui/traits/issue-18400.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/traits/issue-18400.stderr')
-rw-r--r--src/test/ui/traits/issue-18400.stderr18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/ui/traits/issue-18400.stderr b/src/test/ui/traits/issue-18400.stderr
new file mode 100644
index 000000000..92e0f6007
--- /dev/null
+++ b/src/test/ui/traits/issue-18400.stderr
@@ -0,0 +1,18 @@
+error[E0275]: overflow evaluating the requirement `_: Sized`
+ --> $DIR/issue-18400.rs:24:7
+ |
+LL | 0.contains(bits);
+ | ^^^^^^^^
+ |
+ = help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_18400`)
+note: required because of the requirements on the impl of `Set<&[_]>` for `{integer}`
+ --> $DIR/issue-18400.rs:6:16
+ |
+LL | impl<'a, T, S> Set<&'a [T]> for S where
+ | ^^^^^^^^^^^^ ^
+ = note: 128 redundant requirements hidden
+ = note: required because of the requirements on the impl of `Set<&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[_]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]>` for `{integer}`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0275`.