Skip to content

Commit 88429fb

Browse files
authored
Rollup merge of #68485 - kingslef:fix/test-60976, r=nikomatsakis
add a test for #60976 The test fails on 1.36.0 but passes on master. Huge thanks for @hellow554 actually digging out the minimized version of the repro. Fixes #60976.
2 parents 8ad83af + ad1cdec commit 88429fb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// compile-flags: --edition=2018
2+
3+
pub use u32;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Regression test for #60976: ICE (with <=1.36.0) when another file had `use <primitive_type>;`.
2+
// check-pass
3+
// aux-build:extern-use-primitive-type-lib.rs
4+
5+
extern crate extern_use_primitive_type_lib;
6+
7+
fn main() {}

0 commit comments

Comments
 (0)