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