mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-06 05:33:59 +00:00
8 lines
84 B
Rust
8 lines
84 B
Rust
// check-pass
|
|
|
|
trait Trait {}
|
|
|
|
fn f<const N: usize>(_: impl Trait) {}
|
|
|
|
fn main() {}
|