-
Notifications
You must be signed in to change notification settings - Fork 82
/
vis_conflict.stderr
29 lines (25 loc) · 1.1 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
error: `public` and `vis` cannot be used together
--> 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:48
|
12 | #[builder(public, vis = "pub(crate)", build_fn(private, public))]
| ^^^^^^^
error: `public` and `vis` cannot be used together
--> 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`