rust/tests/ui/rfcs/rfc-2632-const-trait-impl/tilde-const-syntax.rs

10 lines
196 B
Rust

//@ compile-flags: -Z parse-only
//@ check-pass
#![feature(const_trait_impl)]
struct S<
T: for<'a> ~const Tr<'a> + 'static + ~const std::ops::Add,
T: for<'a: 'b> ~const m::Trait<'a>,
>;