Skip to content

Commit 37904a1

Browse files
cleanup old stuff
1 parent 30306fd commit 37904a1

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

compiler/rustc_resolve/src/imports.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -333,21 +333,6 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
333333
})
334334
}
335335

336-
// pub(crate) fn try_define(
337-
// &mut self,
338-
// module: Module<'ra>,
339-
// key: BindingKey,
340-
// binding: NameBinding<'ra>,
341-
// warn_ambiguity: bool,
342-
// ) -> Result<(), NameBinding<'ra>> {
343-
// if module.is_local_module() {
344-
// self.try_define_local(module, key, binding, warn_ambiguity)
345-
// } else {
346-
// self.define_extern(module, key, binding);
347-
// Ok(())
348-
// }
349-
// }
350-
351336
/// Define the name or return the existing binding if there is a collision.
352337
/// `update` indicates if the definition is a redefinition of an existing binding.
353338
pub(crate) fn try_define_local(

0 commit comments

Comments
 (0)