blob: 5324eb2118617d9503b7244f435f0d45d1f7c06e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0277]: cannot add `()` to `usize`
--> $DIR/issue-13352.rs:19:13
|
LL | 2_usize + (loop {});
| ^ no implementation for `usize + ()`
|
= help: the trait `std::ops::Add<()>` is not implemented for `usize`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
|