mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
202 B
Plaintext
9 lines
202 B
Plaintext
error: item has unused generic parameters
|
|
--> $DIR/promoted-function-1.rs:9:8
|
|
|
|
|
LL | pub fn test<T>() {
|
|
| ^^^^ - generic parameter `T` is unused
|
|
|
|
error: aborting due to 1 previous error
|
|
|