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 dfbd466 commit 69a9d23Copy full SHA for 69a9d23
src/test/compile-fail/unsized3.rs
@@ -68,14 +68,15 @@ impl<Sized? X: T> T1<X> for S3<X> { //ERROR instantiating a type parameter with
68
trait T2<Z> {
69
}
70
impl<Sized? X> T2<X> for S3<X> { //ERROR instantiating a type parameter with an incompatible type `X
71
+*/
72
73
// impl - struct
74
trait T3<Sized? Z> {
75
76
struct S4<Y>;
-impl<Sized? X> T3<X> for S4<X> { //ERROR instantiating a type parameter with an incompatible type `X
77
+impl<Sized? X> T3<X> for S4<X> { //~ ERROR instantiating a type parameter with an incompatible type
78
-*/
79
+
80
81
pub fn main() {
82
0 commit comments