const T: usize = 42;
impl Foo<N = const 3> for Bar {
-//~^ERROR expected lifetime, type, or constant, found keyword `const`
-//~^^ERROR cannot constrain an associated constant to a value
-//~^^^ERROR this trait takes 1 generic argument but 0 generic arguments
-//~^^^^ERROR associated type bindings are not allowed here
+//~^ ERROR expected lifetime, type, or constant, found keyword `const`
+//~| ERROR cannot constrain an associated constant to a value
+//~| ERROR this trait takes 1 generic argument but 0 generic arguments
+//~| ERROR associated type bindings are not allowed here
fn do_x(&self) -> [u8; 3] {
[0u8; 3]
}