]> git.proxmox.com Git - rustc.git/blame - src/test/ui/bounds-lifetime.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / bounds-lifetime.rs
CommitLineData
0531ce1d
XL
1type A = for<'b, 'a: 'b> fn(); //~ ERROR lifetime bounds cannot be used in this context
2type B = for<'b, 'a: 'b,> fn(); //~ ERROR lifetime bounds cannot be used in this context
3type C = for<'b, 'a: 'b +> fn(); //~ ERROR lifetime bounds cannot be used in this context
4type D = for<'a, T> fn(); //~ ERROR only lifetime parameters can be used in this context
dc9dc135 5type E = dyn for<T> Fn(); //~ ERROR only lifetime parameters can be used in this context
abe05a73
XL
6
7fn main() {}