-
Notifications
You must be signed in to change notification settings - Fork 81
/
vis_conflict.stderr
41 lines (35 loc) · 1.48 KB
/
vis_conflict.stderr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
error: `public` and `private` cannot be used together
--> tests/compile-fail/vis_conflict.rs:7:15
|
7 | #[builder(public, private)]
| ^^^^^^
error: `vis="..."` cannot be used with `public` or `private`
--> tests/compile-fail/vis_conflict.rs:5:25
|
5 | #[builder(public, vis = "pub(crate)")]
| ^^^^^^^^^^^^
error: `public` and `private` cannot be used together
--> tests/compile-fail/vis_conflict.rs:12:57
|
12 | #[builder(public, vis = "pub(crate)", build_fn(private, public))]
| ^^^^^^
error: `vis="..."` cannot be used with `public` or `private`
--> tests/compile-fail/vis_conflict.rs:14:30
|
14 | #[builder(private, vis = "pub")]
| ^^^^^
error: `vis="..."` cannot be used with `public` or `private`
--> tests/compile-fail/vis_conflict.rs:12:25
|
12 | #[builder(public, vis = "pub(crate)", build_fn(private, public))]
| ^^^^^^^^^^^^
error[E0433]: failed to resolve: use of undeclared type `ExampleBuilder`
--> tests/compile-fail/vis_conflict.rs:19:5
|
19 | ExampleBuilder::default().build();
| ^^^^^^^^^^^^^^ use of undeclared type `ExampleBuilder`
error[E0433]: failed to resolve: use of undeclared type `SecondExampleBuilder`
--> tests/compile-fail/vis_conflict.rs:20:5
|
20 | SecondExampleBuilder::default().build();
| ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SecondExampleBuilder`