]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-25368.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-25368.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/issue-25368.rs:11:17
3    |
4 LL |     let (tx, rx) = channel();
5    |         -------- consider giving the pattern a type
6 ...
7 LL |         tx.send(Foo{ foo: PhantomData }); //~ ERROR E0282
8    |                 ^^^ cannot infer type for `T`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0282`.