Skip to content

Commit 8f2cc02

Browse files
spastorinonikomatsakis
authored andcommitted
Run yield-subtype test on nll mode too as a regression check
1 parent fcb9e92 commit 8f2cc02

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/test/run-pass/generator/yield-subtype.rs

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// revisions:lexical nll
12+
#![cfg_attr(nll, feature(nll))]
13+
1114
#![feature(generators)]
1215

1316
fn bar<'a>() {

0 commit comments

Comments
 (0)