review comment: span bug label

This commit is contained in:
Esteban Küber
2019-10-18 08:38:08 -07:00
parent 865c4bcff6
commit bd813bf1ac

View File

@@ -1055,7 +1055,7 @@ impl<'a> MethodDef<'a> {
}) })
.collect() .collect()
} else { } else {
cx.span_bug(trait_.span, "no self arguments for method in generic `derive`") cx.span_bug(trait_.span, "no `self` parameter for method in generic `derive`")
}; };
// body of the inner most destructuring match // body of the inner most destructuring match