about summary refs log tree commit diff
path: root/tests/ui/traits/const-traits/conditionally-const-trait-bound-syntax.rs
blob: 89950c65ef6427c61c2a2a84027701979afd7538 (plain)
1
2
3
4
5
6
7
8
9
//@ compile-flags: -Z parse-crate-root-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>,
>;