summaryrefslogtreecommitdiffstats
path: root/tests/ui/polymorphization/promoted-function-1.stderr
blob: fcbb86949232b225598f4396701bb37c95570dc3 (plain)
1
2
3
4
5
6
7
8
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