about summary refs log tree commit diff
path: root/tests/ui/traits/const-traits/const-closure-issue-125866-error.stderr
blob: 1eadd1d842691c37dc8abfc45eb88f679e515c07 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0277]: the trait bound `impl FnMut(usize) -> u32 + Copy: [const] FnMut(usize)` is not satisfied
  --> $DIR/const-closure-issue-125866-error.rs:8:22
   |
LL |         array[i] = f(i);
   |                    - ^
   |                    |
   |                    required by a bound introduced by this call

error: aborting due to 1 previous error

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