summaryrefslogtreecommitdiffstats
path: root/src/test/ui/typeck/issue-36708.stderr
blob: 140f19f1ff7746f0ed898c405acb7bd5564d4b8d (plain)
1
2
3
4
5
6
7
8
9
error[E0049]: method `foo` has 1 type parameter but its trait declaration has 0 type parameters
  --> $DIR/issue-36708.rs:8:12
   |
LL |     fn foo<T>() {}
   |            ^ found 1 type parameter, expected 0

error: aborting due to previous error

For more information about this error, try `rustc --explain E0049`.