]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0044]: foreign items may not have type parameters |
0731742a | 2 | --> $DIR/generic-extern.rs:2:5 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | fn foo<T>(); |
b7449926 XL |
5 | | ^^^^^^^^^^^^ can't have type parameters |
6 | | | |
e1599b0c | 7 | = help: replace the type parameters with concrete types like `u32` |
b7449926 XL |
8 | |
9 | error: aborting due to previous error | |
10 | ||
11 | For more information about this error, try `rustc --explain E0044`. |