]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/parser/bounds-type.rs
1 // compile-flags: -Z parse-only
8 T
: ?
for<'a
> Trait
, // OK
10 T
: ?'a
, //~ ERROR `?` may only modify trait bounds, not lifetime bounds
14 T
: ~const Tr
+ 'a
, // OK
15 T
: ~const 'a
, //~ ERROR `~const` may only modify trait bounds, not lifetime bounds