summary refs log tree commit diff
path: root/src/test/ui/issues/issue-13352.stderr
blob: 58ac74be3e3b7a9798ce675c3838bdaab0c7457c (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0277]: cannot add `()` to `usize`
  --> $DIR/issue-13352.rs:9: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`.