- 14 6月, 2022 11 次提交
-
-
由 b-naber 提交于
-
由 b-naber 提交于
-
由 b-naber 提交于
-
由 b-naber 提交于
-
由 b-naber 提交于
-
由 b-naber 提交于
-
由 b-naber 提交于
-
由 Laurențiu Nicola 提交于
-
由 Nicholas Nethercote 提交于
And likewise for the `Const::val` method. Because its type is called `ConstKind`. Also `val` is a confusing name because `ConstKind` is an enum with seven variants, one of which is called `Value`. Also, this gives consistency with `TyS` and `PredicateS` which have `kind` fields. The commit also renames a few `Const` variables from `val` to `c`, to avoid confusion with the `ConstKind::Value` variant.
-
由 Caleb Cartwright 提交于
-
由 Michael Howell 提交于
Since #97668 was merged, the slice::get function now looks like this: ![image](https://user-images.githubusercontent.com/1593513/173430685-1dd2b275-2439-4392-b7d4-96bcb355a377.png) That whole thing, `[T]`, is a single link to `primitive.slice.html`. This definitely fixes it for this case, but it's not obvious what we should do for slices of concrete types: ![image](https://user-images.githubusercontent.com/1593513/173430968-7eed1aec-b688-4f84-a492-9210aff0037a.png) There are actually three links in that `[u8]`: the opening brace `[` is a link to `primitive.slice.html`, the `u8` is a link to `primitive.u8.html`, and the final `]` is a link to `primitive.slice.html`. This is a serious [usability bug](https://usability.yale.edu/web-accessibility/articles/links): the square braces are much too small for anyone who doesn't have perfect motor control using mouse or touch, provide an excessive number of tab stops for anyone using keyboard, and no visual indication whatsoever that they're separate links. Now that slices of generic types are linked, it seems reasonable to err on the side of less clutter and stop linking concrete slices to the slice page.
-
- 13 6月, 2022 9 次提交
-
-
由 Vladimir Michael Eatwell 提交于
-
由 Oli Scherer 提交于
-
由 Pietro Albini 提交于
-
由 Yuki Okushi 提交于
-
由 Yoke 提交于
-
由 Yoke 提交于
-
由 Yoke 提交于
issues97981
-
由 Takayuki Maeda 提交于
-
由 Takayuki Maeda 提交于
-
- 12 6月, 2022 7 次提交
-
-
由 threadexception 提交于
-
由 bjorn3 提交于
These are necessary for running the rustc test suite with cg_clif
-
由 David Bar-On 提交于
* Fix for issue 4725 - dedup Item imports_granularity (2nd version) * Use unique() instead of unique_by()
-
由 Michael Goulet 提交于
-
由 Michael Goulet 提交于
-
由 Michael Goulet 提交于
-
由 Michael Goulet 提交于
-
- 11 6月, 2022 10 次提交
-
-
由 lengyijun 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 Guillaume Gomez 提交于
-
由 Muhammad Hamza 提交于
-
由 Muhammad Hamza 提交于
-
由 Camille GILLOT 提交于
-
由 Yuki Okushi 提交于
Signed-off-by: NYuki Okushi <jtitor@2k36.org>
-
- 10 6月, 2022 3 次提交
-
-
由 David Wood 提交于
Introduce allow-by-default lints for checking whether diagnostics are written in `SessionDiagnostic`/`AddSubdiagnostic` impls and whether diagnostics are translatable. These lints can be denied for modules once they are fully migrated to impls and translation. Signed-off-by: NDavid Wood <david.wood@huawei.com>
-
由 Takayuki Maeda 提交于
-
由 Urgau 提交于
-