Skip to content

Commit 217f5f6

Browse files
committed
1 parent 053aecf commit 217f5f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_analysis/src/collect/generics_of.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub(super) fn generics_of(tcx: TyCtxt<'_>, def_id: LocalDefId) -> ty::Generics {
6565
// struct Foo<const N: usize = { .. }>;
6666
// ^^^ ^ ^^^^^^ def id of this anon const
6767
// ^ ^ param_id
68-
// ^ parent_def_id after
68+
// ^ parent_def_id
6969
//
7070
// then we only want to return generics for params to the left of `N`. If we don't do that we
7171
// end up with that const looking like: `ty::ConstKind::Unevaluated(def_id, args: [N#0])`.

0 commit comments

Comments
 (0)