mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-16 00:29:23 +00:00
13 lines
189 B
Rust
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, >(());
|
|
}
|