bless the tests
This commit is contained in:
parent
d25f4718ad
commit
b64a9be97e
2 changed files with 14 additions and 0 deletions
|
|
@ -5,3 +5,6 @@
|
|||
|
||||
#[eii]
|
||||
fn foo<T>() {}
|
||||
//~^ ERROR externally implementable items may not have type parameters
|
||||
|
||||
fn main() {}
|
||||
|
|
|
|||
11
tests/ui/eii/type_checking/type_params_149983.stderr
Normal file
11
tests/ui/eii/type_checking/type_params_149983.stderr
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
error[E0044]: externally implementable items may not have type parameters
|
||||
--> $DIR/type_params_149983.rs:7:1
|
||||
|
|
||||
LL | fn foo<T>() {}
|
||||
| ^^^^^^^^^^^ can't have type parameters
|
||||
|
|
||||
= help: replace the type parameters with concrete types like `u32`
|
||||
|
||||
error: aborting due to 1 previous error
|
||||
|
||||
For more information about this error, try `rustc --explain E0044`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue