about summary refs log tree commit diff
path: root/tests/ui/lang-items/issue-87573.stderr
blob: 07f4f5d8ac86f51e7a4b0f77ade50b52a89c0579 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0718]: `drop_in_place` lang item must be applied to a function with at least 1 generic argument
  --> $DIR/issue-87573.rs:26: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
  --> $DIR/issue-87573.rs:32: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`.