about summary refs log tree commit diff
path: root/tests/ui/lint/large_assignments/inline_mir.stderr
blob: d9010e24d03be4cce8a539c378f1a50e230186e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: moving 9999 bytes
  --> $DIR/inline_mir.rs:22:16
   |
LL |     let cell = std::cell::UnsafeCell::new(data);
   |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value moved from here
   |
   = note: The current maximum size is 1000, but it can be customized with the move_size_limit attribute: `#![move_size_limit = "..."]`
note: the lint level is defined here
  --> $DIR/inline_mir.rs:2:9
   |
LL | #![deny(large_assignments)]
   |         ^^^^^^^^^^^^^^^^^

error: aborting due to 1 previous error