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