[Syntax Breaking] Rename DefaultImpl to AutoImpl
DefaultImpl is a highly confusing name for what we now call auto impls, as in `impl Send for ..`. The name auto impl is not formally decided but for sanity anything is better than `DefaultImpl` which refers neither to `default impl` nor to `impl Default`.
This commit is contained in:
parent
5ce3d482e2
commit
06506bb751
60 changed files with 163 additions and 163 deletions
|
|
@ -376,7 +376,7 @@ impl<'a> Resolver<'a> {
|
|||
self.insert_field_names(item_def_id, field_names);
|
||||
}
|
||||
|
||||
ItemKind::DefaultImpl(..) | ItemKind::Impl(..) => {}
|
||||
ItemKind::AutoImpl(..) | ItemKind::Impl(..) => {}
|
||||
|
||||
ItemKind::Trait(..) => {
|
||||
let def_id = self.definitions.local_def_id(item.id);
|
||||
|
|
|
|||
|
|
@ -1841,7 +1841,7 @@ impl<'a> Resolver<'a> {
|
|||
|this| visit::walk_item(this, item));
|
||||
}
|
||||
|
||||
ItemKind::DefaultImpl(_, ref trait_ref) => {
|
||||
ItemKind::AutoImpl(_, ref trait_ref) => {
|
||||
self.with_optional_trait_ref(Some(trait_ref), |this, _| {
|
||||
// Resolve type arguments in trait path
|
||||
visit::walk_trait_ref(this, trait_ref);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue