blob: e5c6ba27755ee82630212fb8c9aa3bc5f8a9a44d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
error: missing parameters for function definition
--> $DIR/issue-108109-fn-missing-params.rs:3:15
|
LL | pub fn missing -> () {}
| ^
|
help: add a parameter list
|
LL | pub fn missing() -> () {}
| ++
error: missing parameters for function definition
--> $DIR/issue-108109-fn-missing-params.rs:6:16
|
LL | pub fn missing2 {}
| ^
|
help: add a parameter list
|
LL | pub fn missing2() {}
| ++
error: aborting due to 2 previous errors
|