Skip to content

Commit 800ed0c

Browse files
authored
Rollup merge of #70541 - lcnr:patch-1, r=varkor
prohibit_generics: update has_err for consts r? @eddyb
2 parents 1bf4873 + 8b762c5 commit 800ed0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_typeck/astconv.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2440,6 +2440,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
24402440
continue;
24412441
}
24422442
err_for_ct = true;
2443+
has_err = true;
24432444
(ct.span, "const")
24442445
}
24452446
};

0 commit comments

Comments
 (0)