]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-13352.stderr
Rollup merge of #53311 - RalfJung:windows-mutex, r=retep998
[rust.git] / src / test / ui / issues / issue-13352.stderr
1 error[E0277]: cannot add `()` to `usize`
2   --> $DIR/issue-13352.rs:19:13
3    |
4 LL |     2_usize + (loop {});
5    |             ^ no implementation for `usize + ()`
6    |
7    = help: the trait `std::ops::Add<()>` is not implemented for `usize`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0277`.