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 @@ -310,6 +310,7 @@ pub enum Res<Id = hir::HirId> {
310310 ///
311311 /// **Belongs to the type namespace.**
312312 PrimTy ( hir:: PrimTy ) ,
313+
313314 /// The `Self` type, optionally with the [`DefId`] of the trait it belongs to and
314315 /// optionally with the [`DefId`] of the item introducing the `Self` type alias.
315316 ///
@@ -357,7 +358,8 @@ pub enum Res<Id = hir::HirId> {
357358 /// const fn baz<T>() -> usize { 10 }
358359 /// ```
359360 /// We do however allow `Self` in repeat expression even if it is generic to not break code
360- /// which already works on stable while causing the `const_evaluatable_unchecked` future compat lint:
361+ /// which already works on stable while causing the `const_evaluatable_unchecked` future compat
362+ /// lint:
361363 /// ```
362364 /// fn foo<T>() {
363365 /// let _bar = [1_u8; std::mem::size_of::<*mut T>()];
@@ -372,6 +374,7 @@ pub enum Res<Id = hir::HirId> {
372374 /// from mentioning generics (i.e. when used in an anonymous constant).
373375 alias_to : Option < ( DefId , bool ) > ,
374376 } ,
377+
375378 /// A tool attribute module; e.g., the `rustfmt` in `#[rustfmt::skip]`.
376379 ///
377380 /// **Belongs to the type namespace.**
@@ -385,6 +388,7 @@ pub enum Res<Id = hir::HirId> {
385388 ///
386389 /// *See also [`Res::SelfTy`].*
387390 SelfCtor ( DefId ) ,
391+
388392 /// A local variable or function parameter.
389393 ///
390394 /// **Belongs to the value namespace.**
You can’t perform that action at this time.
0 commit comments