Skip to content

Commit 6884632

Browse files
authored
Rollup merge of #78263 - JohnTitor:mir-opt-ice-test, r=lcnr
Add regression test of issue-77668 Closes #77668
2 parents 7ba519e + 043fab3 commit 6884632

File tree

1 file changed

+4
-0
lines changed
  • src/test/ui/issues/issue-50865-private-impl-trait/auxiliary

1 file changed

+4
-0
lines changed

src/test/ui/issues/issue-50865-private-impl-trait/auxiliary/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// revisions: default miropt
2+
//[miropt]compile-flags: -Z mir-opt-level=2
3+
// ~^ This flag is for #77668, it used to be ICE.
4+
15
#![crate_type = "lib"]
26

37
pub fn bar<P>( // Error won't happen if "bar" is not generic

0 commit comments

Comments
 (0)