summary refs log tree commit diff
path: root/src/test/ui/generator/yield-in-static.stderr
blob: 220520c3862ca9821102223b55e535e0b223495f (plain)
1
2
3
4
5
6
7
8
error[E0627]: yield statement outside of generator literal
  --> $DIR/yield-in-static.rs:3:18
   |
LL | static B: u8 = { yield 3u8; 3u8};
   |                  ^^^^^^^^^

error: aborting due to previous error