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 ed5d09d commit 95ffda1Copy full SHA for 95ffda1
src/test/compile-fail/object-safety-associated-consts.rs
@@ -16,9 +16,9 @@ trait Bar {
16
}
17
18
fn make_bar<T:Bar>(t: &T) -> &Bar {
19
- //~^ ERROR E0038
20
- //~| NOTE the trait cannot contain associated consts like `X`
21
- //~| NOTE the trait `Bar` cannot be made into an object
+ //~^ ERROR E0038
+ //~| NOTE the trait cannot contain associated consts like `X`
+ //~| NOTE the trait `Bar` cannot be made into an object
22
t
23
24
0 commit comments