rust/tests/ui/lang-items/issue-87573.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
637 B
Plaintext
Raw Normal View History

error[E0718]: `drop_in_place` lang item must be applied to a function with at least 1 generic argument
2021-11-16 18:52:38 +00:00
--> $DIR/issue-87573.rs:20:1
|
LL | #[lang = "drop_in_place"]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
LL |
LL | fn drop_fn() {
| - this function has 0 generic arguments
error[E0718]: `start` lang item must be applied to a function with 1 generic argument
2021-11-16 18:52:38 +00:00
--> $DIR/issue-87573.rs:26:1
|
LL | #[lang = "start"]
| ^^^^^^^^^^^^^^^^^
LL |
LL | fn start(){}
| - this function has 0 generic arguments
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0718`.