1 // Regression test for #34991: an ICE occurred here because we inline
2 // some of the vector routines and give them a local def-id `X`. This
3 // got hashed after codegen (`hir_owner(X)`). When we load back up, we get an
4 // error because the `X` is remapped to the original def-id (in
5 // libstd), and we can't hash a HIR node from std.
7 // revisions:rpass1 rpass2
9 #![feature(rustc_attrs)]
13 pub fn foo() -> Vec<i32> {