]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-100365.stderr
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / resolve / issue-100365.stderr
1 error[E0423]: expected value, found trait `Into`
2   --> $DIR/issue-100365.rs:2:16
3    |
4 LL |     let addr = Into::<std::net::IpAddr>.into([127, 0, 0, 1]);
5    |                ^^^^^^^^^^^^^^^^^^^^^^^^- help: use the path separator to refer to an item: `::`
6
7 error[E0423]: expected value, found trait `Into`
8   --> $DIR/issue-100365.rs:6:13
9    |
10 LL |     let _ = Into.into(());
11    |             ^^^^- help: use the path separator to refer to an item: `::`
12
13 error[E0423]: expected value, found trait `Into`
14   --> $DIR/issue-100365.rs:10:13
15    |
16 LL |     let _ = Into::<()>.into;
17    |             ^^^^^^^^^^- help: use the path separator to refer to an item: `::`
18
19 error[E0423]: expected value, found trait `std::iter::Iterator`
20   --> $DIR/issue-100365.rs:17:9
21    |
22 LL |         ::std::iter::Iterator
23    |         ^^^^^^^^^^^^^^^^^^^^^ not a value
24 ...
25 LL |     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
30 error[E0423]: expected value, found trait `std::iter::Iterator`
31   --> $DIR/issue-100365.rs:17:9
32    |
33 LL |         ::std::iter::Iterator
34    |         ^^^^^^^^^^^^^^^^^^^^^ not a value
35 ...
36 LL |     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
41 error[E0423]: expected value, found trait `Into`
42   --> $DIR/issue-100365.rs:25:9
43    |
44 LL |         Into::<String>.into("")
45    |         ^^^^^^^^^^^^^^- help: use the path separator to refer to an item: `::`
46 ...
47 LL |     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
52 error: aborting due to 6 previous errors
53
54 For more information about this error, try `rustc --explain E0423`.