fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0423]: expected value, found trait `Into` 2 --> $DIR/issue-100365.rs:2:16 3 | 4LL | let addr = Into::<std::net::IpAddr>.into([127, 0, 0, 1]); 5 | ^^^^^^^^^^^^^^^^^^^^^^^^- help: use the path separator to refer to an item: `::` 6 7error[E0423]: expected value, found trait `Into` 8 --> $DIR/issue-100365.rs:6:13 9 | 10LL | let _ = Into.into(()); 11 | ^^^^- help: use the path separator to refer to an item: `::` 12 13error[E0423]: expected value, found trait `Into` 14 --> $DIR/issue-100365.rs:10:13 15 | 16LL | let _ = Into::<()>.into; 17 | ^^^^^^^^^^- help: use the path separator to refer to an item: `::` 18 19error[E0423]: expected value, found trait `std::iter::Iterator` 20 --> $DIR/issue-100365.rs:17:9 21 | 22LL | ::std::iter::Iterator 23 | ^^^^^^^^^^^^^^^^^^^^^ not a value 24... 25LL | Trait!().map(std::convert::identity); // no `help` here! 26 | -------- in this macro invocation 27 | 28 = note: this error originates in the macro `Trait` (in Nightly builds, run with -Z macro-backtrace for more info) 29 30error[E0423]: expected value, found trait `std::iter::Iterator` 31 --> $DIR/issue-100365.rs:17:9 32 | 33LL | ::std::iter::Iterator 34 | ^^^^^^^^^^^^^^^^^^^^^ not a value 35... 36LL | Trait!().map; // no `help` here! 37 | -------- in this macro invocation 38 | 39 = note: this error originates in the macro `Trait` (in Nightly builds, run with -Z macro-backtrace for more info) 40 41error[E0423]: expected value, found trait `Into` 42 --> $DIR/issue-100365.rs:25:9 43 | 44LL | Into::<String>.into("") 45 | ^^^^^^^^^^^^^^- help: use the path separator to refer to an item: `::` 46... 47LL | let _ = create!(); 48 | --------- in this macro invocation 49 | 50 = note: this error originates in the macro `create` (in Nightly builds, run with -Z macro-backtrace for more info) 51 52error: aborting due to 6 previous errors 53 54For more information about this error, try `rustc --explain E0423`.