summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2632-const-trait-impl/tilde-const-syntax.rs
blob: 9b3c2cf2a3b04334b072234c588c1c821a559f8a (plain)
1
2
3
4
5
6
7
8
9
// compile-flags: -Z parse-only
// check-pass

#![feature(const_trait_impl)]

struct S<
    T: ~const ?for<'a> Tr<'a> + 'static + ~const std::ops::Add,
    T: ~const ?for<'a: 'b> m::Trait<'a>,
>;