mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 03:33:59 +00:00
8 lines
224 B
Rust
8 lines
224 B
Rust
fn a() where for<T> T: Copy {}
|
|
//~^ ERROR only lifetime parameters can be used in this context
|
|
|
|
fn b() where for<const C: usize> [(); C]: Copy {}
|
|
//~^ ERROR only lifetime parameters can be used in this context
|
|
|
|
fn main() {}
|