summary refs log tree commit diff
path: root/src/test/ui/issue-40749.stderr
blob: b76d469d116f8c685cd25fb4a33bbd916b4d8932 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0308]: mismatched types
  --> $DIR/issue-40749.rs:12:9
   |
LL |     [0; ..10];
   |         ^^^^ expected usize, found struct `std::ops::RangeTo`
   |
   = note: expected type `usize`
              found type `std::ops::RangeTo<{integer}>`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.