We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65a3245 commit c68e652Copy full SHA for c68e652
src/test/compile-fail/assoc-inherent.rs
@@ -13,7 +13,7 @@
13
struct Foo;
14
15
impl Foo {
16
- type Bar = isize; //~ERROR associated items are not allowed in inherent impls
+ type Bar = isize; //~ERROR associated types are not allowed in inherent impls
17
}
18
19
fn main() {}
src/test/compile-fail/issue-22673.rs
@@ -10,7 +10,7 @@
10
11
trait Expr : PartialEq<Self::Item> {
12
//~^ ERROR: unsupported cyclic reference between types/traits detected
- type Item = Expr;
+ type Item;
0 commit comments