1 error[E0423]: expected value, found struct `String`
2 --> $DIR/issue-22692.rs:2:13
4 LL | let _ = String.new();
5 | ^^^^^^- help: use the path separator to refer to an item: `::`
7 error[E0423]: expected value, found struct `String`
8 --> $DIR/issue-22692.rs:6:13
10 LL | let _ = String.default;
11 | ^^^^^^- help: use the path separator to refer to an item: `::`
13 error[E0423]: expected value, found struct `Vec`
14 --> $DIR/issue-22692.rs:10:13
16 LL | let _ = Vec::<()>.with_capacity(1);
17 | ^^^^^^^^^- help: use the path separator to refer to an item: `::`
19 error[E0423]: expected value, found struct `std::cell::Cell`
20 --> $DIR/issue-22692.rs:17:9
22 LL | ::std::cell::Cell
26 | ------- in this macro invocation
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
31 LL | <Type!()>::get();
34 error[E0423]: expected value, found struct `std::cell::Cell`
35 --> $DIR/issue-22692.rs:17:9
37 LL | ::std::cell::Cell
41 | -------- in this macro invocation
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
49 error[E0423]: expected value, found struct `Vec`
50 --> $DIR/issue-22692.rs:26:9
53 | ^^^- help: use the path separator to refer to an item: `::`
55 LL | let _ = create!(type method);
56 | -------------------- in this macro invocation
58 = note: this error originates in the macro `create` (in Nightly builds, run with -Z macro-backtrace for more info)
60 error[E0423]: expected value, found struct `Vec`
61 --> $DIR/issue-22692.rs:31:9
64 | ^^^- help: use the path separator to refer to an item: `::`
66 LL | let _ = create!(type field);
67 | ------------------- in this macro invocation
69 = note: this error originates in the macro `create` (in Nightly builds, run with -Z macro-backtrace for more info)
71 error[E0423]: expected value, found struct `std::cell::Cell`
72 --> $DIR/issue-22692.rs:17:9
74 LL | ::std::cell::Cell
77 LL | let _ = create!(macro method);
78 | --------------------- in this macro invocation
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
83 LL | <Type!()>::new(0)
86 error: aborting due to 8 previous errors
88 For more information about this error, try `rustc --explain E0423`.