diff options
Diffstat (limited to 'tests/ui/resolve/issue-100365.stderr')
| -rw-r--r-- | tests/ui/resolve/issue-100365.stderr | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/tests/ui/resolve/issue-100365.stderr b/tests/ui/resolve/issue-100365.stderr index 2d9bab4304d..7a880c6f31a 100644 --- a/tests/ui/resolve/issue-100365.stderr +++ b/tests/ui/resolve/issue-100365.stderr @@ -6,8 +6,9 @@ LL | let addr = Into::<std::net::IpAddr>.into([127, 0, 0, 1]); | help: use the path separator to refer to an item | -LL | let addr = Into::<std::net::IpAddr>::into([127, 0, 0, 1]); - | ~~ +LL - let addr = Into::<std::net::IpAddr>.into([127, 0, 0, 1]); +LL + let addr = Into::<std::net::IpAddr>::into([127, 0, 0, 1]); + | error[E0423]: expected value, found trait `Into` --> $DIR/issue-100365.rs:6:13 @@ -17,8 +18,9 @@ LL | let _ = Into.into(()); | help: use the path separator to refer to an item | -LL | let _ = Into::into(()); - | ~~ +LL - let _ = Into.into(()); +LL + let _ = Into::into(()); + | error[E0423]: expected value, found trait `Into` --> $DIR/issue-100365.rs:10:13 @@ -28,8 +30,9 @@ LL | let _ = Into::<()>.into; | help: use the path separator to refer to an item | -LL | let _ = Into::<()>::into; - | ~~ +LL - let _ = Into::<()>.into; +LL + let _ = Into::<()>::into; + | error[E0423]: expected value, found trait `std::iter::Iterator` --> $DIR/issue-100365.rs:17:9 @@ -65,8 +68,9 @@ LL | let _ = create!(); = note: this error originates in the macro `create` (in Nightly builds, run with -Z macro-backtrace for more info) help: use the path separator to refer to an item | -LL | Into::<String>::into("") - | ~~ +LL - Into::<String>.into("") +LL + Into::<String>::into("") + | error: aborting due to 6 previous errors |
