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
Copy file name to clipboardExpand all lines: tests/ui/traits/issue-105231.stderr
+7-8
Original file line number
Diff line number
Diff line change
@@ -14,16 +14,15 @@ LL |
14
14
LL ~ struct B<T>(Box<A<A<T>>>);
15
15
|
16
16
17
-
error[E0275]: overflow evaluating the requirement `A<A<A<A<A<A<A<...>>>>>>>: Send`
17
+
error[E0119]: conflicting implementations of trait `Foo` for type `B<u8>`
18
+
--> $DIR/issue-105231.rs:7:1
18
19
|
19
-
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_105231`)
20
-
note: required because it appears within the type `B<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<A<u8>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>`
21
-
--> $DIR/issue-105231.rs:4:8
22
-
|
23
-
LL | struct B<T>(A<A<T>>);
24
-
| ^
20
+
LL | impl<T> Foo for T where T: Send {}
21
+
| ----------------- first implementation here
22
+
LL | impl Foo for B<u8> {}
23
+
| ^^^^^^^^^^^^^^^^^^ conflicting implementation for `B<u8>`
25
24
26
25
error: aborting due to 2 previous errors
27
26
28
-
Some errors have detailed explanations: E0072, E0275.
27
+
Some errors have detailed explanations: E0072, E0119.
29
28
For more information about an error, try `rustc --explain E0072`.
error[E0275]: overflow evaluating the requirement `Runtime<RootDatabase>: RefUnwindSafe`
2
-
|
3
-
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`cycle_via_builtin_auto_trait_impl`)
4
-
note: required because it appears within the type `RootDatabase`
0 commit comments