-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 12 pull requests #89158
Rollup of 12 pull requests #89158
Commits on Sep 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0d8245b - Browse repository at this point
Copy the full SHA 0d8245bView commit details
Commits on Sep 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 71e2eac - Browse repository at this point
Copy the full SHA 71e2eacView commit details
Commits on Sep 18, 2021
-
EscapeDefault: change
range
field toRange<u8>
, reducing struct s……ize 24 -> 6 bytes
Configuration menu - View commit details
-
Copy full SHA for cccd6e0 - Browse repository at this point
Copy the full SHA cccd6e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c8f4f7 - Browse repository at this point
Copy the full SHA 7c8f4f7View commit details
Commits on Sep 19, 2021
-
[bootstrap] Improve the error message when
ninja
is not found to li……nk to installation instructions. Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Configuration menu - View commit details
-
Copy full SHA for a627b4f - Browse repository at this point
Copy the full SHA a627b4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 23d6437 - Browse repository at this point
Copy the full SHA 23d6437View commit details
Commits on Sep 20, 2021
-
Fix a technicality regarding the size of C's
char
typeSpecifically, ISO/IEC 9899:2018 — better known as "C18" — (and at least C11, C99 and C89) do not specify the size of `byte` in bits. Section 3.6 defines "byte" as "addressable unit of data storage" while section 6.2.5 ("Types") only defines "char" as "large enough to store any member of the basic execution set" giving it a lower bound of 7 bit (since there are 96 characters in the basic execution set). With section 6.5.3.4 paragraph 4 "When sizeof is applied to an operant that has type char […] the result is 1" you could read this as the size of `char` in bits being defined as exactly the same as the number of bits in a byte but it's also valid to read that as an exception. In general implementations take `char` as the smallest unit of addressable memory, which for modern byte-addressed architectures is overwhelmingly 8 bits to the point of this convention being completely cemented into just about all of our software. So is any of this actually relevant at all? I hope not. I sincerely hope that this never, ever comes up. But if for some reason a poor rustacean is having to interface with C code running on a Cray X1 that in 2003 is still doing word-addressed memory with 64-bit words and they trust the docs here blindly it will blow up in her face. And I'll be truly sorry for her to have to deal with … all of that.
Configuration menu - View commit details
-
Copy full SHA for 23c608f - Browse repository at this point
Copy the full SHA 23c608fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fdb9e4 - Browse repository at this point
Copy the full SHA 5fdb9e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 514b8ba - Browse repository at this point
Copy the full SHA 514b8baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 402ebc7 - Browse repository at this point
Copy the full SHA 402ebc7View commit details
Commits on Sep 21, 2021
-
Impl
Error
forFromSecsError
without foreign typeUsing it through the crate-local path in `std` means that it shouldn't make an "Implementations on Foreign Types" section in the `std::error::Error` docs.
Configuration menu - View commit details
-
Copy full SHA for 33766ae - Browse repository at this point
Copy the full SHA 33766aeView commit details -
Fix match for placeholder region
Ankit Chandawala committedSep 21, 2021 Configuration menu - View commit details
-
Copy full SHA for d4ee698 - Browse repository at this point
Copy the full SHA d4ee698View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4faf17 - Browse repository at this point
Copy the full SHA e4faf17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 999888c - Browse repository at this point
Copy the full SHA 999888cView commit details -
Rollup merge of rust-lang#88795 - FabianWolff:issue-88684, r=wesleywiser
Print a note if a character literal contains a variation selector Fixes rust-lang#88684.
Configuration menu - View commit details
-
Copy full SHA for c2cdba4 - Browse repository at this point
Copy the full SHA c2cdba4View commit details -
Rollup merge of rust-lang#89015 - klensy:escape-def, r=Mark-Simulacrum
core::ascii::escape_default: reduce struct size
Configuration menu - View commit details
-
Copy full SHA for 051168b - Browse repository at this point
Copy the full SHA 051168bView commit details -
Rollup merge of rust-lang#89078 - camsteffen:map-ref, r=cjgillot
Cleanup: Remove needless reference in ParentHirIterator It forces an intermediate binding of `Map` which is a Copy type.
Configuration menu - View commit details
-
Copy full SHA for 9f50c87 - Browse repository at this point
Copy the full SHA 9f50c87View commit details -
Rollup merge of rust-lang#89086 - WaffleLapkin:stabilize_iter_map_whi…
…le, r=kennytm Stabilize `Iterator::map_while` Per the FCP: rust-lang#68537 (comment) This PR stabilizes `Iterator::map_while` and `iter::MapWhile` in Rust 1.57.
Configuration menu - View commit details
-
Copy full SHA for d7de8d2 - Browse repository at this point
Copy the full SHA d7de8d2View commit details -
Rollup merge of rust-lang#89096 - daira:improve-ninja-error-message, …
…r=jyn514 [bootstrap] Improve the error message when `ninja` is not found to link to installation instructions fixes rust-lang#89091 Signed-off-by: Daira Hopwood <daira@jacaranda.org>
Configuration menu - View commit details
-
Copy full SHA for a8633eb - Browse repository at this point
Copy the full SHA a8633ebView commit details -
Rollup merge of rust-lang#89113 - BoxyUwU:incr-comp-thir-act, r=lcnr
dont `.ensure()` the `thir_abstract_const` query call in `mir_build` might fix an ICE seen in rust-lang#89022 (note: this PR does not close that issue) about attempting to read stolen thir. I couldn't repro the ICE but this `.ensure` seems sus anyway. r? `@lcnr`
Configuration menu - View commit details
-
Copy full SHA for ecfdadc - Browse repository at this point
Copy the full SHA ecfdadcView commit details -
Rollup merge of rust-lang#89114 - dequbed:c-char, r=yaahc
Fixes a technicality regarding the size of C's `char` type Specifically, ISO/IEC 9899:2018 — better known as "C18" — (and at least C11, C99 and C89) do not specify the size of `byte` in bits. Section 3.6 defines "byte" as "addressable unit of data storage" while section 6.2.5 ("Types") only defines "char" as "large enough to store any member of the basic execution set" giving it a lower bound of 7 bit (since there are 96 characters in the basic execution set). With section 6.5.3.4 paragraph 4 "When sizeof is applied to an operant that has type char […] the result is 1" you could read this as the size of `char` in bits being defined as exactly the same as the number of bits in a byte but it's also valid to read that as an exception. In general implementations take `char` as the smallest unit of addressable memory, which for modern byte-addressed architectures is overwhelmingly 8 bits to the point of this convention being completely cemented into just about all of our software. So is any of this actually relevant at all? I hope not. I sincerely hope that this never, ever comes up. But if for some reason a poor rustacean is having to interface with C code running on a Cray X1 that in 2003 is still doing word-addressed memory with 64-bit chars and they trust the docs here blindly it will blow up in her face. And I'll be truly sorry for her to have to deal with … all of that.
Configuration menu - View commit details
-
Copy full SHA for 8a6e9cf - Browse repository at this point
Copy the full SHA 8a6e9cfView commit details -
Rollup merge of rust-lang#89115 - lnicola:rust-analyzer-2021-09-20, r…
…=Mark-Simulacrum ⬆️ rust-analyzer `@bors` r+ rollup
Configuration menu - View commit details
-
Copy full SHA for 74cdd64 - Browse repository at this point
Copy the full SHA 74cdd64View commit details -
Rollup merge of rust-lang#89126 - FabianWolff:issue-89088, r=petroche…
…nkov Fix ICE when `indirect_structural_match` is allowed Fixes rust-lang#89088. The ICE is caused by `delay_good_path_bug()`, which is called (indirectly) from a `format!()` macro invocation. I have moved the macro invocation into the `decorate` closure of `struct_span_lint_hir()`, so that the macro is only invoked if the lint is not allowed (i.e., causes at least a warning, and thus prevents `delay_good_path_bug()` from firing).
Configuration menu - View commit details
-
Copy full SHA for 8d95bb2 - Browse repository at this point
Copy the full SHA 8d95bb2View commit details -
Rollup merge of rust-lang#89141 - mbartlett21:patch-2, r=kennytm
Impl `Error` for `FromSecsError` without foreign type Using it through the crate-local path in `std` means that it shouldn't make an "Implementations on Foreign Types" section in the `std::error::Error` docs.
Configuration menu - View commit details
-
Copy full SHA for 17c9a22 - Browse repository at this point
Copy the full SHA 17c9a22View commit details -
Rollup merge of rust-lang#89142 - nerandell:master, r=jackh726
Fix match for placeholder region cc rust-lang#89118
Configuration menu - View commit details
-
Copy full SHA for aca790b - Browse repository at this point
Copy the full SHA aca790bView commit details -
Rollup merge of rust-lang#89147 - b-naber:refs_in_check_const_value_e…
…q, r=oli-obk add case for checking const refs in check_const_value_eq Previously in `check_const_value_eq` we destructured `ConstValue::ByRef` instances, this didn't account for `ty::Ref`s however, which led to an ICE. Fixes rust-lang#88876 Fixes rust-lang#88384 r? `@oli-obk`
Configuration menu - View commit details
-
Copy full SHA for a3e6c19 - Browse repository at this point
Copy the full SHA a3e6c19View commit details