Skip to content

Commit b954971

Browse files
cleanup old stuff
1 parent 079cd50 commit b954971

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
@@ -326,21 +326,6 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
326326
})
327327
}
328328

329-
// pub(crate) fn try_define(
330-
// &mut self,
331-
// module: Module<'ra>,
332-
// key: BindingKey,
333-
// binding: NameBinding<'ra>,
334-
// warn_ambiguity: bool,
335-
// ) -> Result<(), NameBinding<'ra>> {
336-
// if module.is_local_module() {
337-
// self.try_define_local(module, key, binding, warn_ambiguity)
338-
// } else {
339-
// self.define_extern(module, key, binding);
340-
// Ok(())
341-
// }
342-
// }
343-
344329
/// Define the name or return the existing binding if there is a collision.
345330
/// `update` indicates if the definition is a redefinition of an existing binding.
346331
pub(crate) fn try_define_local(

0 commit comments

Comments
 (0)