mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
9 lines
200 B
Plaintext
9 lines
200 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 previous error
|
|
|