summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-toml/large_futures/large_futures.stderr
blob: 7a02fcdbdd2f5fcab4dd8ce4182e82ef5eff8b09 (plain)
1
2
3
4
5
6
7
8
9
10
11
error: large future with a size of 1026 bytes
  --> $DIR/large_futures.rs:18:5
   |
LL |     should_warn().await;
   |     ^^^^^^^^^^^^^ help: consider `Box::pin` on it: `Box::pin(should_warn())`
   |
   = note: `-D clippy::large-futures` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::large_futures)]`

error: aborting due to previous error