Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit ac3a43b

Browse files
committed
Fix TypeAliasesOpaqueTy origin docs
1 parent 13287d8 commit ac3a43b

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_ast_lowering/src

1 file changed

+1
-1
lines changed

compiler/rustc_ast_lowering/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ enum ImplTraitContext<'b, 'a> {
280280
// FIXME(impl_trait): but `required_region_bounds` will ICE later
281281
// anyway.
282282
capturable_lifetimes: &'b mut FxHashSet<hir::LifetimeName>,
283-
/// Origin: Either OpaqueTyOrigin::Misc or OpaqueTyOrigin::Binding,
283+
/// Origin: Either OpaqueTyOrigin::TyAlias or OpaqueTyOrigin::Misc,
284284
origin: hir::OpaqueTyOrigin,
285285
},
286286
/// `impl Trait` is not accepted in this position.

0 commit comments

Comments
 (0)