summaryrefslogtreecommitdiffstats
path: root/src/test/ui/nll/issue-48623-generator.stderr
blob: 70a83e46ff08e5e0e0c63659e911a6bc87d38b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
warning: unused generator that must be used
  --> $DIR/issue-48623-generator.rs:15:5
   |
LL |     move || { d; yield; &mut *r };
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_must_use)]` on by default
   = note: generators are lazy and do nothing unless resumed

warning: 1 warning emitted