2023-06-25 22:28:04 +09:00
|
|
|
//@ check-pass
|
|
|
|
|
|
|
|
#![allow(incomplete_features)]
|
2024-07-14 13:38:51 +01:00
|
|
|
#![feature(adt_const_params, unsized_const_params)]
|
2023-06-25 22:28:04 +09:00
|
|
|
|
|
|
|
pub struct Element;
|
|
|
|
|
|
|
|
pub trait Node {
|
|
|
|
fn elements<const T: &'static str>(&self) -> impl Iterator<Item = Element>;
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|