about summary refs log tree commit diff
path: root/tests/ui/type-inference/regression-issue-81317.stderr
blob: a070b50e3117575b7245b2f70727243aed085d3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0282]: type annotations needed
  --> $DIR/regression-issue-81317.rs:44:9
   |
LL |     let iv = S ^ index.into();
   |         ^^
LL |
LL |     &iv.to_bytes_be();
   |         ----------- type must be known at this point
   |
help: consider giving `iv` an explicit type
   |
LL |     let iv: /* Type */ = S ^ index.into();
   |           ++++++++++++

error: aborting due to 1 previous error

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