blob: 9f5adff63a31fa671dc94deea1367c9bc88ed141 [file]
//@ compile-flags: --crate-type lib
trait Foo {
fn hello<const N: i32>();
}
struct Bar;
impl Foo for Bar {
//~^ ERROR: not all trait items implemented, missing: `hello`
fn hello<const N: >() {
//~^ ERROR: expected type, found `>`
println!("woof woof")
}
}