1 error: expected type, found `,`
2 --> $DIR/issue-86053-1.rs:10:47
4 LL | fn ordering4 < 'a , 'b > ( a : , self , self , self ,
7 error: unexpected `self` parameter in function
8 --> $DIR/issue-86053-1.rs:10:51
10 LL | fn ordering4 < 'a , 'b > ( a : , self , self , self ,
11 | ^^^^ must be the first parameter of an associated function
13 error: unexpected `self` parameter in function
14 --> $DIR/issue-86053-1.rs:10:58
16 LL | fn ordering4 < 'a , 'b > ( a : , self , self , self ,
17 | ^^^^ must be the first parameter of an associated function
19 error: unexpected `self` parameter in function
20 --> $DIR/issue-86053-1.rs:10:67
22 LL | fn ordering4 < 'a , 'b > ( a : , self , self , self ,
23 | ^^^^ must be the first parameter of an associated function
25 error: unexpected `self` parameter in function
26 --> $DIR/issue-86053-1.rs:11:5
28 LL | self , ... , self , self , ... ) where F : FnOnce ( & 'a & 'b usize ) {
29 | ^^^^ must be the first parameter of an associated function
31 error: unexpected `self` parameter in function
32 --> $DIR/issue-86053-1.rs:11:20
34 LL | self , ... , self , self , ... ) where F : FnOnce ( & 'a & 'b usize ) {
35 | ^^^^ must be the first parameter of an associated function
37 error: unexpected `self` parameter in function
38 --> $DIR/issue-86053-1.rs:11:29
40 LL | self , ... , self , self , ... ) where F : FnOnce ( & 'a & 'b usize ) {
41 | ^^^^ must be the first parameter of an associated function
43 error: `...` must be the last argument of a C-variadic function
44 --> $DIR/issue-86053-1.rs:11:12
46 LL | self , ... , self , self , ... ) where F : FnOnce ( & 'a & 'b usize ) {
49 error: only foreign or `unsafe extern "C"` functions may be C-variadic
50 --> $DIR/issue-86053-1.rs:11:12
52 LL | self , ... , self , self , ... ) where F : FnOnce ( & 'a & 'b usize ) {
55 error: only foreign or `unsafe extern "C"` functions may be C-variadic
56 --> $DIR/issue-86053-1.rs:11:36
58 LL | self , ... , self , self , ... ) where F : FnOnce ( & 'a & 'b usize ) {
61 error[E0412]: cannot find type `F` in this scope
62 --> $DIR/issue-86053-1.rs:11:48
64 LL | self , ... , self , self , ... ) where F : FnOnce ( & 'a & 'b usize ) {
67 ::: $SRC_DIR/core/src/ops/function.rs:LL:COL
69 LL | pub trait Fn<Args>: FnMut<Args> {
70 | ------------------------------- similarly named trait `Fn` defined here
72 help: a trait with a similar name exists
74 LL | self , ... , self , self , ... ) where Fn : FnOnce ( & 'a & 'b usize ) {
76 help: you might be missing a type parameter
78 LL | fn ordering4 < 'a , 'b, F > ( a : , self , self , self ,
81 error[E0491]: in type `&'a &'b usize`, reference has a longer lifetime than the data it references
82 --> $DIR/issue-86053-1.rs:11:52
84 LL | self , ... , self , self , ... ) where F : FnOnce ( & 'a & 'b usize ) {
85 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
87 note: the pointer is valid for the lifetime `'a` as defined on the function body at 10:16
88 --> $DIR/issue-86053-1.rs:10:16
90 LL | fn ordering4 < 'a , 'b > ( a : , self , self , self ,
92 note: but the referenced data is only valid for the lifetime `'b` as defined on the function body at 10:21
93 --> $DIR/issue-86053-1.rs:10:21
95 LL | fn ordering4 < 'a , 'b > ( a : , self , self , self ,
98 error: aborting due to 12 previous errors
100 Some errors have detailed explanations: E0412, E0491.
101 For more information about an error, try `rustc --explain E0412`.