rust/tests/ui/polymorphization/promoted-function-1.stderr

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