mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
282 B
Plaintext
11 lines
282 B
Plaintext
error: expected identifier, found `<`
|
|
--> $DIR/existing_generics.rs:5:3
|
|
|
|
|
LL | fn<'a, B: 'a + std::ops::Add<Output = u32>> f<T>(_x: B) { }
|
|
| ^ expected identifier
|
|
|
|
|
= help: place the generic parameter name after the fn name
|
|
|
|
error: aborting due to 1 previous error
|
|
|