mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 22:59:22 +00:00
10 lines
192 B
Rust
10 lines
192 B
Rust
#![expect(incomplete_features)]
|
|
#![feature(associated_const_equality, min_generic_const_args)]
|
|
|
|
pub fn accept(_: impl Trait<K = 0>) {}
|
|
|
|
pub trait Trait {
|
|
#[type_const]
|
|
const K: i32;
|
|
}
|