rust/tests/ui/impl-trait/static-lifetime-return-position-impl-trait.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
212 B
Rust
Raw Normal View History

//@ check-pass
#![allow(incomplete_features)]
2023-09-13 11:04:42 -05:00
#![feature(adt_const_params)]
pub struct Element;
pub trait Node {
fn elements<const T: &'static str>(&self) -> impl Iterator<Item = Element>;
}
fn main() {}