fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0423]: expected value, found struct `String` 2 --> $DIR/issue-22692.rs:2:13 3 | 4LL | let _ = String.new(); 5 | ^^^^^^- help: use the path separator to refer to an item: `::` 6 7error[E0423]: expected value, found struct `String` 8 --> $DIR/issue-22692.rs:6:13 9 | 10LL | let _ = String.default; 11 | ^^^^^^- help: use the path separator to refer to an item: `::` 12 13error[E0423]: expected value, found struct `Vec` 14 --> $DIR/issue-22692.rs:10:13 15 | 16LL | let _ = Vec::<()>.with_capacity(1); 17 | ^^^^^^^^^- help: use the path separator to refer to an item: `::` 18 19error[E0423]: expected value, found struct `std::cell::Cell` 20 --> $DIR/issue-22692.rs:17:9 21 | 22LL | ::std::cell::Cell 23 | ^^^^^^^^^^^^^^^^^ 24... 25LL | 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) 29help: use the path separator to refer to an item 30 | 31LL | <Type!()>::get(); 32 | ~~~~~~~~~~~ 33 34error[E0423]: expected value, found struct `std::cell::Cell` 35 --> $DIR/issue-22692.rs:17:9 36 | 37LL | ::std::cell::Cell 38 | ^^^^^^^^^^^^^^^^^ 39... 40LL | 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) 44help: use the path separator to refer to an item 45 | 46LL | <Type! {}>::get; 47 | ~~~~~~~~~~~~ 48 49error[E0423]: expected value, found struct `Vec` 50 --> $DIR/issue-22692.rs:26:9 51 | 52LL | Vec.new() 53 | ^^^- help: use the path separator to refer to an item: `::` 54... 55LL | 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 60error[E0423]: expected value, found struct `Vec` 61 --> $DIR/issue-22692.rs:31:9 62 | 63LL | Vec.new 64 | ^^^- help: use the path separator to refer to an item: `::` 65... 66LL | 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 71error[E0423]: expected value, found struct `std::cell::Cell` 72 --> $DIR/issue-22692.rs:17:9 73 | 74LL | ::std::cell::Cell 75 | ^^^^^^^^^^^^^^^^^ 76... 77LL | 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) 81help: use the path separator to refer to an item 82 | 83LL | <Type!()>::new(0) 84 | ~~~~~~~~~~~ 85 86error: aborting due to 8 previous errors 87 88For more information about this error, try `rustc --explain E0423`.