]> git.proxmox.com Git - rustc.git/blob - src/test/ui/resolve/issue-22692.stderr
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / resolve / issue-22692.stderr
1 error[E0423]: expected value, found struct `String`
2 --> $DIR/issue-22692.rs:2:13
3 |
4 LL | let _ = String.new();
5 | ^^^^^^- help: use the path separator to refer to an item: `::`
6
7 error[E0423]: expected value, found struct `String`
8 --> $DIR/issue-22692.rs:6:13
9 |
10 LL | let _ = String.default;
11 | ^^^^^^- help: use the path separator to refer to an item: `::`
12
13 error[E0423]: expected value, found struct `Vec`
14 --> $DIR/issue-22692.rs:10:13
15 |
16 LL | let _ = Vec::<()>.with_capacity(1);
17 | ^^^^^^^^^- help: use the path separator to refer to an item: `::`
18
19 error[E0423]: expected value, found struct `std::cell::Cell`
20 --> $DIR/issue-22692.rs:17:9
21 |
22 LL | ::std::cell::Cell
23 | ^^^^^^^^^^^^^^^^^
24 ...
25 LL | Type!().get();
26 | ------- in this macro invocation
27 |
28 = note: this error originates in the macro `Type` (in Nightly builds, run with -Z macro-backtrace for more info)
29 help: use the path separator to refer to an item
30 |
31 LL | <Type!()>::get();
32 | ~~~~~~~~~~~
33
34 error[E0423]: expected value, found struct `std::cell::Cell`
35 --> $DIR/issue-22692.rs:17:9
36 |
37 LL | ::std::cell::Cell
38 | ^^^^^^^^^^^^^^^^^
39 ...
40 LL | Type! {}.get;
41 | -------- in this macro invocation
42 |
43 = note: this error originates in the macro `Type` (in Nightly builds, run with -Z macro-backtrace for more info)
44 help: use the path separator to refer to an item
45 |
46 LL | <Type! {}>::get;
47 | ~~~~~~~~~~~~
48
49 error[E0423]: expected value, found struct `Vec`
50 --> $DIR/issue-22692.rs:26:9
51 |
52 LL | Vec.new()
53 | ^^^- help: use the path separator to refer to an item: `::`
54 ...
55 LL | let _ = create!(type method);
56 | -------------------- in this macro invocation
57 |
58 = note: this error originates in the macro `create` (in Nightly builds, run with -Z macro-backtrace for more info)
59
60 error[E0423]: expected value, found struct `Vec`
61 --> $DIR/issue-22692.rs:31:9
62 |
63 LL | Vec.new
64 | ^^^- help: use the path separator to refer to an item: `::`
65 ...
66 LL | let _ = create!(type field);
67 | ------------------- in this macro invocation
68 |
69 = note: this error originates in the macro `create` (in Nightly builds, run with -Z macro-backtrace for more info)
70
71 error[E0423]: expected value, found struct `std::cell::Cell`
72 --> $DIR/issue-22692.rs:17:9
73 |
74 LL | ::std::cell::Cell
75 | ^^^^^^^^^^^^^^^^^
76 ...
77 LL | let _ = create!(macro method);
78 | --------------------- in this macro invocation
79 |
80 = note: this error originates in the macro `Type` which comes from the expansion of the macro `create` (in Nightly builds, run with -Z macro-backtrace for more info)
81 help: use the path separator to refer to an item
82 |
83 LL | <Type!()>::new(0)
84 | ~~~~~~~~~~~
85
86 error: aborting due to 8 previous errors
87
88 For more information about this error, try `rustc --explain E0423`.