11error[E0283]: type annotations needed
2- --> $DIR/issue-77982.rs:8 :10
2+ --> $DIR/issue-77982.rs:9 :10
33 |
44LL | opts.get(opt.as_ref());
55 | ^^^ ------------ type must be known at this point
@@ -18,7 +18,7 @@ LL | opts.get::<Q>(opt.as_ref());
1818 | +++++
1919
2020error[E0283]: type annotations needed
21- --> $DIR/issue-77982.rs:8 :10
21+ --> $DIR/issue-77982.rs:9 :10
2222 |
2323LL | opts.get(opt.as_ref());
2424 | ^^^ ------ type must be known at this point
@@ -36,7 +36,7 @@ LL | opts.get::<Q>(opt.as_ref());
3636 | +++++
3737
3838error[E0283]: type annotations needed
39- --> $DIR/issue-77982.rs:13 :59
39+ --> $DIR/issue-77982.rs:14 :59
4040 |
4141LL | let ips: Vec<_> = (0..100_000).map(|_| u32::from(0u32.into())).collect();
4242 | --- ^^^^
@@ -56,13 +56,13 @@ LL | let ips: Vec<_> = (0..100_000).map(|_| u32::from(<u32 as Into<T>>::into
5656 | +++++++++++++++++++++++ ~
5757
5858error[E0283]: type annotations needed for `Box<T>`
59- --> $DIR/issue-77982.rs:36 :9
59+ --> $DIR/issue-77982.rs:37 :9
6060 |
6161LL | let _ = ().foo();
6262 | ^ --- type must be known at this point
6363 |
6464note: multiple `impl`s satisfying `(): Foo<'_, _>` found
65- --> $DIR/issue-77982.rs:29 :1
65+ --> $DIR/issue-77982.rs:30 :1
6666 |
6767LL | impl Foo<'static, u32> for () {}
6868 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -74,13 +74,13 @@ LL | let _: Box<T> = ().foo();
7474 | ++++++++
7575
7676error[E0283]: type annotations needed for `Box<T>`
77- --> $DIR/issue-77982.rs:40 :9
77+ --> $DIR/issue-77982.rs:41 :9
7878 |
7979LL | let _ = (&()).bar();
8080 | ^ --- type must be known at this point
8181 |
8282note: multiple `impl`s satisfying `&(): Bar<'_, _>` found
83- --> $DIR/issue-77982.rs:32 :1
83+ --> $DIR/issue-77982.rs:33 :1
8484 |
8585LL | impl<'a> Bar<'static, u32> for &'a () {}
8686 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 commit comments