mirror of
https://git.proxmox.com/git/rustc
synced 2025-07-15 02:53:19 +00:00
12 lines
218 B
Rust
12 lines
218 B
Rust
#![feature(generic_const_exprs)]
|
|
//~^ WARN the feature `generic_const_exprs` is incomplete
|
|
|
|
trait B {
|
|
type U<T>;
|
|
}
|
|
|
|
fn f<T: B<U<1i32> = ()>>() {}
|
|
//~^ ERROR constant provided when a type was expected
|
|
|
|
fn main() {}
|