rust/tests/ui/rfc-2632-const-trait-impl/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 09:30:09 -05:00
// 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>,
>;