mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
10 lines
198 B
Rust
10 lines
198 B
Rust
//@ 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>,
|
|
>;
|