mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 05:04:24 +00:00
13 lines
444 B
Rust
13 lines
444 B
Rust
// Regression test for the ICE described in issue #86053.
|
|
// error-pattern:unexpected `self` parameter in function
|
|
// error-pattern:`...` must be the last argument of a C-variadic function
|
|
// error-pattern:cannot find type `F` in this scope
|
|
|
|
|
|
#![feature(c_variadic)]
|
|
#![crate_type="lib"]
|
|
|
|
fn ordering4 < 'a , 'b > ( a : , self , self , self ,
|
|
self , ... , self , self , ... ) where F : FnOnce ( & 'a & 'b usize ) {
|
|
}
|