| Age | Commit message (Collapse) | Author | Lines |
|
StructField -> FieldDef ("field definition")
Field -> ExprField ("expression field", not "field expression")
FieldPat -> PatField ("pattern field", not "field pattern")
Also rename visiting and other methods working on them.
|
|
|
|
Items are guaranteed to be HIR owner.
|
|
|
|
This makes it possible to pass the `Impl` directly to functions, instead
of having to pass each of the many fields one at a time. It also
simplifies matches in many cases.
|
|
So that at least it won't ICE for users whether or not they enable the gate. For developers the FIXMEs are enough.
|
|
- Adds optional default values to const generic parameters in the AST
and HIR
- Parses these optional default values
- Adds a `const_generics_defaults` feature gate
|
|
|
|
Do not call `unwrap` with `signatures` option enabled
Fixes #75229
Didn't add a test since I couldn't set `RUST_SAVE_ANALYSIS_CONFIG` even with `rustc-env`.
|
|
|
|
|
|
clippy::single-char-push-str
|
|
|