Skip to content

Commit 17d3e6b

Browse files
Rollup merge of #156014 - petrochenkov:kvak, r=mu001999
resolve: Catch "cannot reexport" errors from macros 2.0 better After the macro 2.0 related holes are closed we can report `span_delayed_bug`s in more situations. Merging rust-lang/rust#155945 would make changes in this PR simpler, but that PR will probably have to wait for quite some time. This is a continuation of my import & privacy invariant hardening changes from rust-lang/rust#155257, rust-lang/rust#155213, rust-lang/rust#154149, etc. r? @mu001999
2 parents 42da642 + 1e84499 commit 17d3e6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/hir-def/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ extern crate rustc_parse_format;
1616
extern crate ra_ap_rustc_parse_format as rustc_parse_format;
1717

1818
extern crate ra_ap_rustc_abi as rustc_abi;
19+
pub extern crate ra_ap_rustc_abi as layout;
1920

2021
pub mod db;
2122

@@ -47,7 +48,6 @@ pub mod import_map;
4748
pub mod visibility;
4849

4950
use intern::{Interned, Symbol};
50-
pub use rustc_abi as layout;
5151
use thin_vec::ThinVec;
5252

5353
pub use crate::signatures::LocalFieldId;

0 commit comments

Comments
 (0)