Skip to content

Commit 2c66e03

Browse files
committed
moved renamed docs | bounds-lifetime.rs
1 parent 3890619 commit 2c66e03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ui/bounds-lifetime.rs renamed to tests/ui/higher-ranked/higher-ranked-invalid-bounds.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! Tests invalid lifetime bounds and generic parameters in higher-ranked types.
2+
13
type A = for<'b, 'a: 'b> fn(); //~ ERROR bounds cannot be used in this context
24
type B = for<'b, 'a: 'b,> fn(); //~ ERROR bounds cannot be used in this context
35
type C = for<'b, 'a: 'b +> fn(); //~ ERROR bounds cannot be used in this context

0 commit comments

Comments
 (0)