]> git.proxmox.com Git - rustc.git/blame - src/test/ui/parser/bounds-lifetime.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / parser / bounds-lifetime.rs
CommitLineData
32a655c1
SL
1type A = for<'a:> fn(); // OK
2type A = for<'a:,> fn(); // OK
3type A = for<'a> fn(); // OK
4type A = for<> fn(); // OK
0531ce1d
XL
5type A = for<'a: 'b + 'c> fn(); // OK (rejected later by ast_validation)
6type A = for<'a: 'b,> fn(); // OK(rejected later by ast_validation)
7type A = for<'a: 'b +> fn(); // OK (rejected later by ast_validation)
8type A = for<'a, T> fn(); // OK (rejected later by ast_validation)
ba9703b0 9type A = for<,> fn(); //~ ERROR expected one of `#`, `>`, `const`, identifier, or lifetime
223e47cc
LB
10
11fn main() {}