Fix prelude injection
This commit is contained in:
parent
2b61be2975
commit
a9f103e2fa
@ -534,6 +534,7 @@ fn inject_prelude(&mut self, crate_attrs: &Attrs) {
|
|||||||
match per_ns.types {
|
match per_ns.types {
|
||||||
Some((ModuleDefId::ModuleId(m), _)) => {
|
Some((ModuleDefId::ModuleId(m), _)) => {
|
||||||
self.def_map.prelude = Some(m);
|
self.def_map.prelude = Some(m);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
types => {
|
types => {
|
||||||
tracing::debug!(
|
tracing::debug!(
|
||||||
|
Loading…
Reference in New Issue
Block a user