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.
This commit is contained in:
commit
88429fb5e2
@ -0,0 +1,3 @@
|
||||
// compile-flags: --edition=2018
|
||||
|
||||
pub use u32;
|
7
src/test/ui/use/issue-60976-extern-use-primitive-type.rs
Normal file
7
src/test/ui/use/issue-60976-extern-use-primitive-type.rs
Normal file
@ -0,0 +1,7 @@
|
||||
// Regression test for #60976: ICE (with <=1.36.0) when another file had `use <primitive_type>;`.
|
||||
// check-pass
|
||||
// aux-build:extern-use-primitive-type-lib.rs
|
||||
|
||||
extern crate extern_use_primitive_type_lib;
|
||||
|
||||
fn main() {}
|
Loading…
x
Reference in New Issue
Block a user