-
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 11 pull requests #80064
Rollup of 11 pull requests #80064
Commits on Nov 7, 2020
-
Refactor
parse_prefix
on WindowsRefactor `get_first_two_components` to `get_next_component`. Fixes the following behaviour of `parse_prefix`: - series of separator bytes in a prefix are correctly parsed as a single separator - device namespace prefixes correctly recognize both `\\` and `/` as separators
Configuration menu - View commit details
-
Copy full SHA for 94d73d4 - Browse repository at this point
Copy the full SHA 94d73d4View commit details
Commits on Nov 9, 2020
-
make MIR graphviz generation use gsgdt
gsgdt [https://crates.io/crates/gsgdt] is a crate which provides an interface for stringly typed graphs. It also provides generation of graphviz dot format from said graph.
Configuration menu - View commit details
-
Copy full SHA for ea14607 - Browse repository at this point
Copy the full SHA ea14607View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5b049e1 - Browse repository at this point
Copy the full SHA 5b049e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4e94ec - Browse repository at this point
Copy the full SHA a4e94ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86a7831 - Browse repository at this point
Copy the full SHA 86a7831View commit details
Commits on Nov 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 51ecb96 - Browse repository at this point
Copy the full SHA 51ecb96View commit details
Commits on Dec 5, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6fe31e7 - Browse repository at this point
Copy the full SHA 6fe31e7View commit details
Commits on Dec 8, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 7cb74ed - Browse repository at this point
Copy the full SHA 7cb74edView commit details
Commits on Dec 9, 2020
-
Extra assertions in eval_body_using_ecx to disallow queries for
functions that does allocations
Tunahan Karlibas committedDec 9, 2020 Configuration menu - View commit details
-
Copy full SHA for de1cd4b - Browse repository at this point
Copy the full SHA de1cd4bView commit details
Commits on Dec 10, 2020
-
Remove unnecessary check and fix local_def_id parameter
Tunahan Karlibas committedDec 10, 2020 Configuration menu - View commit details
-
Copy full SHA for b6f7eef - Browse repository at this point
Copy the full SHA b6f7eefView commit details
Commits on Dec 11, 2020
-
Tunahan Karlibas committed
Dec 11, 2020 Configuration menu - View commit details
-
Copy full SHA for a03feaa - Browse repository at this point
Copy the full SHA a03feaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed80815 - Browse repository at this point
Copy the full SHA ed80815View commit details
Commits on Dec 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0f30b7d - Browse repository at this point
Copy the full SHA 0f30b7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d75618e - Browse repository at this point
Copy the full SHA d75618eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 94fd1d3 - Browse repository at this point
Copy the full SHA 94fd1d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09d528e - Browse repository at this point
Copy the full SHA 09d528eView commit details
Commits on Dec 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6c7835e - Browse repository at this point
Copy the full SHA 6c7835eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 357565d - Browse repository at this point
Copy the full SHA 357565dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 01c2520 - Browse repository at this point
Copy the full SHA 01c2520View commit details -
Configuration menu - View commit details
-
Copy full SHA for 777ca99 - Browse repository at this point
Copy the full SHA 777ca99View commit details
Commits on Dec 15, 2020
-
Always run intrinsics lowering pass
Move intrinsics lowering pass from the optimization phase (where it would not run if -Zmir-opt-level=0), to the drop lowering phase where it runs unconditionally. The implementation of those intrinsics in code generation and interpreter is unnecessary. Remove it.
Configuration menu - View commit details
-
Copy full SHA for a9ff4bd - Browse repository at this point
Copy the full SHA a9ff4bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4652a13 - Browse repository at this point
Copy the full SHA 4652a13View commit details -
Rollup merge of rust-lang#78399 - vn-ki:gsgdt-graphviz, r=oli-obk
make MIR graphviz generation use gsgdt gsgdt [https://crates.io/crates/gsgdt] is a crate which provides an interface for stringly typed graphs. It also provides generation of graphviz dot format from said graph. This is the first in a series of PRs on moving graphviz code out of rustc into normal crates and then implementating graph diffing on top of these crates. r? ```@oli-obk```
Configuration menu - View commit details
-
Copy full SHA for 81e0fd4 - Browse repository at this point
Copy the full SHA 81e0fd4View commit details -
Rollup merge of rust-lang#78833 - CDirkx:parse_prefix, r=dtolnay
Refactor and fix `parse_prefix` on Windows This PR is an extension of rust-lang#78692 as well as a general refactor of `parse_prefix`: **Fixes**: There are two errors in the current implementation of `parse_prefix`: Firstly, in the current implementation only `\` is recognized as a separator character in device namespace prefixes. This behavior is only correct for verbatim paths; `"\\.\C:/foo"` should be parsed as `"C:"` instead of `"C:/foo"`. Secondly, the current implementation only handles single separator characters. In non-verbatim paths a series of separator characters should be recognized as a single boundary, e.g. the UNC path `"\\localhost\\\\\\C$\foo"` should be parsed as `"\\localhost\\\\\\C$"` and then `UNC(server: "localhost", share: "C$")`, but currently it is not parsed at all, because it starts being parsed as `\\localhost\` and then has an invalid empty share location. Paths like `"\\.\C:/foo"` and `"\\localhost\\\\\\C$\foo"` are valid on Windows, they are equivalent to just `"C:\foo"`. **Refactoring**: All uses of `&[u8]` within `parse_prefix` are extracted to helper functions and`&OsStr` is used instead. This reduces the number of places unsafe is used: - `get_first_two_components` is adapted to the more general `parse_next_component` and used in more places - code for parsing drive prefixes is extracted to `parse_drive`
Configuration menu - View commit details
-
Copy full SHA for 12156e7 - Browse repository at this point
Copy the full SHA 12156e7View commit details -
Rollup merge of rust-lang#79607 - DrMeepster:maybe_uninit_write_slice…
…, r=m-ou-se MaybeUninit::copy/clone_from_slice This PR adds 2 new methods to MaybeUninit under the feature of `maybe_uninit_write_slice`: `copy_from_slice` and `clone_from_slice`. These are useful for initializing uninitialized buffers (such as the one returned by `Vec::spare_capacity_mut` for example) with initialized data. The methods behave similarly to the methods on slices, but the destination is uninitialized and they return the destination slice as an initialized slice.
Configuration menu - View commit details
-
Copy full SHA for 3ce1f5c - Browse repository at this point
Copy the full SHA 3ce1f5cView commit details -
Rollup merge of rust-lang#79840 - dvtkrlbs:issue-79667, r=oli-obk
Remove memoization leftovers from constant evaluation machine Closes rust-lang#79667
Configuration menu - View commit details
-
Copy full SHA for 0a2aeac - Browse repository at this point
Copy the full SHA 0a2aeacView commit details -
Rollup merge of rust-lang#79945 - jackh726:existential_trait_ref, r=n…
…ikomatsakis Move binder for dyn to each list item This essentially changes `ty::Binder<&'tcx List<ExistentialTraitRef>>` to `&'tcx List<ty::Binder<ExistentialTraitRef>>`. This is a first step in moving the `dyn Trait` representation closer to Chalk, which we've talked about in ```@rust-lang/wg-traits.``` r? ```@nikomatsakis```
Configuration menu - View commit details
-
Copy full SHA for 6a19c06 - Browse repository at this point
Copy the full SHA 6a19c06View commit details -
Rollup merge of rust-lang#80003 - Stupremee:fix-zst-vecdeque-conversi…
…on-panic, r=dtolnay Fix overflow when converting ZST Vec to VecDeque ```rust let v = vec![(); 100]; let queue = VecDeque::from(v); println!("{:?}", queue); ``` This code will currently panic with a capacity overflow. This PR resolves this issue and makes the code run fine. Resolves rust-lang#78532
Configuration menu - View commit details
-
Copy full SHA for fe2af20 - Browse repository at this point
Copy the full SHA fe2af20View commit details -
Rollup merge of rust-lang#80006 - ssomers:btree_cleanup_6, r=Mark-Sim…
…ulacrum BTreeMap: more expressive local variables in merge r? ```@Mark-Simulacrum```
Configuration menu - View commit details
-
Copy full SHA for 68b75db - Browse repository at this point
Copy the full SHA 68b75dbView commit details -
Rollup merge of rust-lang#80022 - ssomers:btree_cleanup_8, r=Mark-Sim…
…ulacrum BTreeSet: simplify implementation of pop_first/pop_last …and stop it interfering in rust-lang#79245. r? ```@Mark-Simulacrum```
Configuration menu - View commit details
-
Copy full SHA for 1068f94 - Browse repository at this point
Copy the full SHA 1068f94View commit details -
Rollup merge of rust-lang#80026 - JohnTitor:separator-insensitive, r=…
…Mark-Simulacrum expand-yaml-anchors: Make the output directory separator-insensitive Fixes rust-lang#75709
Configuration menu - View commit details
-
Copy full SHA for a26389f - Browse repository at this point
Copy the full SHA a26389fView commit details -
Rollup merge of rust-lang#80035 - ChayimFriedman2:patch-1, r=nagisa
Optimization for bool's PartialOrd impl Fix rust-lang#80034.
Configuration menu - View commit details
-
Copy full SHA for df630a9 - Browse repository at this point
Copy the full SHA df630a9View commit details -
Rollup merge of rust-lang#80040 - tmiasko:always-lower-intrinsics, r=…
…Dylan-DPC Always run intrinsics lowering pass Move intrinsics lowering pass from the optimization phase (where it would not run if -Zmir-opt-level=0), to the drop lowering phase where it runs unconditionally. The implementation of those intrinsics in code generation and interpreter is unnecessary. Remove it.
Configuration menu - View commit details
-
Copy full SHA for f255490 - Browse repository at this point
Copy the full SHA f255490View commit details