Skip to content

Commit

Permalink
Fix fallout after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
varkor committed Aug 2, 2019
1 parent c28ce3e commit 70c8839
Show file tree
Hide file tree
Showing 30 changed files with 50 additions and 551 deletions.
2 changes: 1 addition & 1 deletion src/librustc/infer/opaque_types/mod.rs
Expand Up @@ -1207,7 +1207,7 @@ pub fn may_define_opaque_type(
// Syntactically, we are allowed to define the concrete type if:
let res = hir_id == scope;
trace!(
"may_define_existential_type(def={:?}, opaque_node={:?}) = {}",
"may_define_opaque_type(def={:?}, opaque_node={:?}) = {}",
tcx.hir().get(hir_id),
tcx.hir().get(opaque_hir_id),
res
Expand Down
2 changes: 1 addition & 1 deletion src/librustc/ty/mod.rs
Expand Up @@ -221,7 +221,7 @@ impl AssocItem {
tcx.fn_sig(self.def_id).skip_binder().to_string()
}
ty::AssocKind::Type => format!("type {};", self.ident),
// FIXME(trait_alias_impl_trait): we should print bounds here too.
// FIXME(type_alias_impl_trait): we should print bounds here too.
ty::AssocKind::OpaqueTy => format!("type {};", self.ident),
ty::AssocKind::Const => {
format!("const {}: {:?};", self.ident, tcx.type_of(self.def_id))
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_typeck/collect.rs
Expand Up @@ -1713,7 +1713,7 @@ fn find_opaque_ty_constraints(tcx: TyCtxt<'_>, def_id: DefId) -> Ty<'_> {
// For example, this code:
// ```
// fn foo() {
// existential type Blah: Debug;
// type Blah = impl Debug;
// let my_closure = || -> Blah { true };
// }
// ```
Expand Down
2 changes: 1 addition & 1 deletion src/librustdoc/html/item_type.rs
Expand Up @@ -144,7 +144,7 @@ impl ItemType {
ItemType::AssocConst => "associatedconstant",
ItemType::ForeignType => "foreigntype",
ItemType::Keyword => "keyword",
ItemType::OpaqueTy => "opaque",
ItemType::OpaqueTy => "opaque",
ItemType::ProcAttribute => "attr",
ItemType::ProcDerive => "derive",
ItemType::TraitAlias => "traitalias",
Expand Down
230 changes: 0 additions & 230 deletions src/test/ui/async-await/await-macro.rs

This file was deleted.

12 changes: 0 additions & 12 deletions src/test/ui/existential-type/issue-52843-closure-constrain.rs

This file was deleted.

20 changes: 0 additions & 20 deletions src/test/ui/existential-type/issue-52843-closure-constrain.stderr

This file was deleted.

14 changes: 0 additions & 14 deletions src/test/ui/existential_types/generic_duplicate_param_use.rs

This file was deleted.

17 changes: 0 additions & 17 deletions src/test/ui/existential_types/generic_duplicate_param_use.stderr

This file was deleted.

17 changes: 0 additions & 17 deletions src/test/ui/existential_types/generic_duplicate_param_use2.rs

This file was deleted.

22 changes: 0 additions & 22 deletions src/test/ui/existential_types/generic_duplicate_param_use3.rs

This file was deleted.

17 changes: 0 additions & 17 deletions src/test/ui/existential_types/generic_duplicate_param_use4.rs

This file was deleted.

0 comments on commit 70c8839

Please sign in to comment.