Fix TypeAliasesOpaqueTy origin docs
This commit is contained in:
parent
13287d8dd2
commit
ac3a43b316
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ enum ImplTraitContext<'b, 'a> {
|
||||||
// FIXME(impl_trait): but `required_region_bounds` will ICE later
|
// FIXME(impl_trait): but `required_region_bounds` will ICE later
|
||||||
// anyway.
|
// anyway.
|
||||||
capturable_lifetimes: &'b mut FxHashSet<hir::LifetimeName>,
|
capturable_lifetimes: &'b mut FxHashSet<hir::LifetimeName>,
|
||||||
/// Origin: Either OpaqueTyOrigin::Misc or OpaqueTyOrigin::Binding,
|
/// Origin: Either OpaqueTyOrigin::TyAlias or OpaqueTyOrigin::Misc,
|
||||||
origin: hir::OpaqueTyOrigin,
|
origin: hir::OpaqueTyOrigin,
|
||||||
},
|
},
|
||||||
/// `impl Trait` is not accepted in this position.
|
/// `impl Trait` is not accepted in this position.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue