diff options
| author | bors <bors@rust-lang.org> | 2022-07-19 19:36:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-19 19:36:57 +0000 |
| commit | 9a7b7d5e50ab0b59c6d349bbf005680a7c880e98 (patch) | |
| tree | ff10292ed61a9f79a1ecf3e5394d9defc26dd95a /compiler/rustc_span | |
| parent | 29c5a028b0c92aa5da6a8eb6d6585a389fcf1035 (diff) | |
| parent | ddb5a2638acbbe33815aefdbeff3266df4ebcd21 (diff) | |
| download | rust-9a7b7d5e50ab0b59c6d349bbf005680a7c880e98.tar.gz rust-9a7b7d5e50ab0b59c6d349bbf005680a7c880e98.zip | |
Auto merge of #98180 - notriddle:notriddle/rustdoc-fn, r=petrochenkov,GuillaumeGomez
Improve the function pointer docs This is #97842 but for function pointers instead of tuples. The concept is basically the same. * Reduce duplicate impls; show `fn (T₁, T₂, …, Tₙ)` and include a sentence saying that there exists up to twelve of them. * Show `Copy` and `Clone`. * Show auto traits like `Send` and `Sync`, and blanket impls like `Any`. https://notriddle.com/notriddle-rustdoc-test/std/primitive.fn.html
Diffstat (limited to 'compiler/rustc_span')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 3ccd3fcbafa..ec1d2c39b80 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -696,6 +696,7 @@ symbols! { fabsf32, fabsf64, fadd_fast, + fake_variadic, fdiv_fast, feature, fence, @@ -1471,7 +1472,6 @@ symbols! { tuple, tuple_from_req, tuple_indexing, - tuple_variadic, two_phase, ty, type_alias_enum_variants, |
