rust/tests/ui/traits/const-traits/tilde-const-syntax.rs

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

10 lines
196 B
Rust
Raw Normal View History

2021-08-25 14:30:09 +00:00
//@ 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>,
2021-08-25 14:30:09 +00:00
>;