rust/src/test/ui/error-codes/E0044.stderr

16 lines
489 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0044]: foreign items may not have type parameters
--> $DIR/E0044.rs:11:10
|
11 | extern { fn some_func<T>(x: T); } //~ ERROR E0044
| ^^^^^^^^^^^^^^^^^^^^^^
|
help: consider using specialization instead of type parameters
--> $DIR/E0044.rs:11:10
|
11 | extern { fn some_func<T>(x: T); } //~ ERROR E0044
| ^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to previous error
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0044"