mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Spelling
* a rule * access * after * amount * annotations * assignment * assist * associated * attribute * borrowed * built-in type * clarification * command * const * constructor * corresponding * counterparts * curlies * dependencies * deterministic * diagnostic * duplicates * edge * edited * efficient * elsewhere * execution * expression * extensions * extracted * fill * github * helper * heuristic * incomplete * indent end * inlay * invocation * lifetime * looking * maybe * move * mutability * mutable * necessarily * necessary * negative * nonexistent * occurred * offsets * offsetted * overridden * parameters * params * params_and_where_preds_in_scope * paredit * parent * parentheses * prepended if * punctuation * receive * receiver * referring * repeated * representing * semantically * separately * shouldnot * siblings * similar * something's * statement * struct * structure * surprise * the * this * transparent * unimplemented * unnamed * unnecessary * unneeded * unreachable * unterminated * utilities * variant * variants * visibility * work around (v) * workaround Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
2c251a7e2b
commit
bc7d84c3ce
83 changed files with 137 additions and 136 deletions
|
@ -4230,7 +4230,7 @@ pub union GenericUnion<T: Copy> { // Unions with non-`Copy` fields are unstable.
|
|||
pub const THIS_IS_OKAY: GenericUnion<()> = GenericUnion { field: () };
|
||||
```
|
||||
|
||||
Like transarent `struct`s, a transparent `union` of type `U` has the same
|
||||
Like transparent `struct`s, a transparent `union` of type `U` has the same
|
||||
layout, size, and ABI as its single non-ZST field. If it is generic over a type
|
||||
`T`, and all its fields are ZSTs except for exactly one field of type `T`, then
|
||||
it has the same layout and ABI as `T` (even if `T` is a ZST when monomorphized).
|
||||
|
@ -6548,7 +6548,7 @@ subtracting elements in an Add impl."##,
|
|||
},
|
||||
Lint {
|
||||
label: "clippy::suspicious_assignment_formatting",
|
||||
description: r##"Checks for use of the non-existent `=*`, `=!` and `=-`
|
||||
description: r##"Checks for use of the nonexistent `=*`, `=!` and `=-`
|
||||
operators."##,
|
||||
},
|
||||
Lint {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue