Open aDotInTheVoid opened 2 years ago
use
Import
FnDecl
Fn
Function
FunctionPointer
OpaqueTy
Ty
type
Header
FunctionHeader
async_
const_
unsafe_
is_async
ItemKind
Primitive
ItemEnum
PrimitiveType
ItemEnum::ForeignType
ExternType
AssocItemConstraint
StructField
WherePredicate::RegionPredicate
lifetime
Somewhat of a followup to #94889
@rustbot modify labels: +T-rustdoc +A-rustdoc-json
default
ItemEnum::AssocType
use
's are refered to asImport
's (#128667)FnDecl
uses shortFn
, butFunction
andFunctionPointer
don't abbreviate (#128667)OpaqueTy
uses shortTy
, but fulltype
uses everywhere else (removed in #127276)Header
not calledFunctionHeader
(#128667)Header
has fieldsasync_
,const_
andunsafe_
, but should beis_async
(etc), like rest of types. (#128667)ItemKind
hasPrimitive
, butItemEnum
hasPrimitiveType
(#102321)ItemEnum::ForeignType
should beExternType
, as foreign refers to a different rust crate, but it's actually a non rust type (#128667)AssocItemConstraint
's `binding field should probably be renamed as followup to the binding->contraint change in #128667StructField
isn't just used for struct's, but also variant fieldsWherePredicate::RegionPredicate
shoud probaby uselifetime
instead. The region/lifetime thing has a history on the compiller side (https://github.com/rust-lang/compiler-team/issues/634, https://github.com/rust-lang/rust/issues/110254), but we should avoid Region on the user-facing side. Done in #127289Somewhat of a followup to #94889
@rustbot modify labels: +T-rustdoc +A-rustdoc-json