]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-36116.stderr
Auto merge of #59058 - petrochenkov:assocrecov3, r=estebank
[rust.git] / src / test / ui / issues / issue-36116.stderr
1 warning: unnecessary path disambiguator
2   --> $DIR/issue-36116.rs:20:50
3    |
4 LL |     let f = Some(Foo { _a: 42 }).map(|a| a as Foo::<i32>);
5    |                                                  ^^ try removing `::`
6
7 warning: unnecessary path disambiguator
8   --> $DIR/issue-36116.rs:21:15
9    |
10 LL |     let g: Foo::<i32> = Foo { _a: 42 };
11    |               ^^ try removing `::`
12