rust/tests/crashes/133066.rs

13 lines
189 B
Rust

//@ known-bug: #133066
trait Owner {
const C<const N: u32>: u32;
}
impl Owner for () {;}
fn take0<const N: u64>(_: impl Owner<C<N> = { N }>) {}
fn main() {
take0::<f32, >(());
}