]> git.lizzy.rs Git - rust.git/blob - tests/ui/generics/generic-extern.stderr
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[rust.git] / tests / ui / generics / generic-extern.stderr
1 error[E0044]: foreign items may not have type parameters
2   --> $DIR/generic-extern.rs:2:5
3    |
4 LL |     fn foo<T>();
5    |     ^^^^^^^^^^^^ can't have type parameters
6    |
7    = help: replace the type parameters with concrete types like `u32`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0044`.