Skip to content

Commit 70c8839

Browse files
committed
Fix fallout after rebase
1 parent c28ce3e commit 70c8839

30 files changed

+50
-551
lines changed

src/librustc/infer/opaque_types/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ pub fn may_define_opaque_type(
12071207
// Syntactically, we are allowed to define the concrete type if:
12081208
let res = hir_id == scope;
12091209
trace!(
1210-
"may_define_existential_type(def={:?}, opaque_node={:?}) = {}",
1210+
"may_define_opaque_type(def={:?}, opaque_node={:?}) = {}",
12111211
tcx.hir().get(hir_id),
12121212
tcx.hir().get(opaque_hir_id),
12131213
res

src/librustc/ty/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ impl AssocItem {
221221
tcx.fn_sig(self.def_id).skip_binder().to_string()
222222
}
223223
ty::AssocKind::Type => format!("type {};", self.ident),
224-
// FIXME(trait_alias_impl_trait): we should print bounds here too.
224+
// FIXME(type_alias_impl_trait): we should print bounds here too.
225225
ty::AssocKind::OpaqueTy => format!("type {};", self.ident),
226226
ty::AssocKind::Const => {
227227
format!("const {}: {:?};", self.ident, tcx.type_of(self.def_id))

src/librustc_typeck/collect.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1713,7 +1713,7 @@ fn find_opaque_ty_constraints(tcx: TyCtxt<'_>, def_id: DefId) -> Ty<'_> {
17131713
// For example, this code:
17141714
// ```
17151715
// fn foo() {
1716-
// existential type Blah: Debug;
1716+
// type Blah = impl Debug;
17171717
// let my_closure = || -> Blah { true };
17181718
// }
17191719
// ```

src/librustdoc/html/item_type.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl ItemType {
144144
ItemType::AssocConst => "associatedconstant",
145145
ItemType::ForeignType => "foreigntype",
146146
ItemType::Keyword => "keyword",
147-
ItemType::OpaqueTy => "opaque",
147+
ItemType::OpaqueTy => "opaque",
148148
ItemType::ProcAttribute => "attr",
149149
ItemType::ProcDerive => "derive",
150150
ItemType::TraitAlias => "traitalias",

src/test/ui/async-await/await-macro.rs

-230
This file was deleted.

src/test/ui/existential-type/issue-52843-closure-constrain.rs

-12
This file was deleted.

src/test/ui/existential-type/issue-52843-closure-constrain.stderr

-20
This file was deleted.

src/test/ui/existential_types/generic_duplicate_param_use.rs

-14
This file was deleted.

src/test/ui/existential_types/generic_duplicate_param_use.stderr

-17
This file was deleted.

src/test/ui/existential_types/generic_duplicate_param_use2.rs

-17
This file was deleted.

src/test/ui/existential_types/generic_duplicate_param_use3.rs

-22
This file was deleted.

src/test/ui/existential_types/generic_duplicate_param_use4.rs

-17
This file was deleted.

0 commit comments

Comments
 (0)