File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -308,6 +308,7 @@ pub enum Res<Id = hir::HirId> {
308308 ///
309309 /// **Belongs to the type namespace.**
310310 PrimTy ( hir:: PrimTy ) ,
311+
311312 /// The `Self` type, optionally with the [`DefId`] of the trait it belongs to and
312313 /// optionally with the [`DefId`] of the item introducing the `Self` type alias.
313314 ///
@@ -355,7 +356,8 @@ pub enum Res<Id = hir::HirId> {
355356 /// const fn baz<T>() -> usize { 10 }
356357 /// ```
357358 /// We do however allow `Self` in repeat expression even if it is generic to not break code
358- /// which already works on stable while causing the `const_evaluatable_unchecked` future compat lint:
359+ /// which already works on stable while causing the `const_evaluatable_unchecked` future compat
360+ /// lint:
359361 /// ```
360362 /// fn foo<T>() {
361363 /// let _bar = [1_u8; std::mem::size_of::<*mut T>()];
@@ -370,6 +372,7 @@ pub enum Res<Id = hir::HirId> {
370372 /// from mentioning generics (i.e. when used in an anonymous constant).
371373 alias_to : Option < ( DefId , bool ) > ,
372374 } ,
375+
373376 /// A tool attribute module; e.g., the `rustfmt` in `#[rustfmt::skip]`.
374377 ///
375378 /// **Belongs to the type namespace.**
@@ -383,6 +386,7 @@ pub enum Res<Id = hir::HirId> {
383386 ///
384387 /// *See also [`Res::SelfTy`].*
385388 SelfCtor ( DefId ) ,
389+
386390 /// A local variable or function parameter.
387391 ///
388392 /// **Belongs to the value namespace.**
You can’t perform that action at this time.
0 commit comments