-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 #63120
Rollup of 12 pull requests #63120
Commits on Jun 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for fed12fa - Browse repository at this point
Copy the full SHA fed12faView commit details
Commits on Jul 17, 2019
-
Refer to
add
method instead ofoffset
The `align_offset` method returns an `usize`, so using `add` makes more sense than using `offset`, which takes an `isize`.
Configuration menu - View commit details
-
Copy full SHA for c9c73f5 - Browse repository at this point
Copy the full SHA c9c73f5View commit details
Commits on Jul 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 60de9e4 - Browse repository at this point
Copy the full SHA 60de9e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f0b2e5 - Browse repository at this point
Copy the full SHA 8f0b2e5View commit details
Commits on Jul 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b6c472a - Browse repository at this point
Copy the full SHA b6c472aView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5a039d - Browse repository at this point
Copy the full SHA a5a039dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 194282b - Browse repository at this point
Copy the full SHA 194282bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b95b8cc - Browse repository at this point
Copy the full SHA b95b8ccView commit details -
Disallow duplicate lifetime parameters with legacy hygiene
They were resolved with modern hygiene, making this just a strange way to shadow lifetimes.
Configuration menu - View commit details
-
Copy full SHA for 3dca17e - Browse repository at this point
Copy the full SHA 3dca17eView commit details -
Resolve const parameters with modern hygiene
Declarations were already modernized, resulting in cases where a macro couldn't resolve it's own identifier.
Configuration menu - View commit details
-
Copy full SHA for 8876b3b - Browse repository at this point
Copy the full SHA 8876b3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfad725 - Browse repository at this point
Copy the full SHA dfad725View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b11860 - Browse repository at this point
Copy the full SHA 1b11860View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56b39fb - Browse repository at this point
Copy the full SHA 56b39fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd79609 - Browse repository at this point
Copy the full SHA cd79609View commit details -
Properly check the defining scope of existential types
Fixes rust-lang#52632 Existential types (soon to be 'impl trait' aliases) can either be delcared at a top-level crate/module scope, or within another item such as an fn. Previously, we were handling the second case incorrectly when recursively searching for defining usages - we would check children of the item, but not the item itself. This lead to us missing closures that consituted a defining use of the existential type, as their opaque type instantiations are stored in the TypeckTables of their parent function. This commit ensures that we explicitly visit the defining item itself, not just its children.
Configuration menu - View commit details
-
Copy full SHA for 18bf9dd - Browse repository at this point
Copy the full SHA 18bf9ddView commit details -
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8811b9c - Browse repository at this point
Copy the full SHA 8811b9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e98c3a - Browse repository at this point
Copy the full SHA 3e98c3aView commit details
Commits on Jul 29, 2019
-
Configuration menu - View commit details
-
Copy full SHA for e2ee2a3 - Browse repository at this point
Copy the full SHA e2ee2a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2a5d99 - Browse repository at this point
Copy the full SHA b2a5d99View commit details -
Configuration menu - View commit details
-
Copy full SHA for b779f45 - Browse repository at this point
Copy the full SHA b779f45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e927d8 - Browse repository at this point
Copy the full SHA 1e927d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a54dd23 - Browse repository at this point
Copy the full SHA a54dd23View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cdd693 - Browse repository at this point
Copy the full SHA 0cdd693View commit details -
ci: Skip installing SWIG/xz on OSX
I'm relatively certain that SWIG was only needed for LLDB which is no longer built, and I'm hoping we can remove the xz install to remove the reliance on `brew` for our build (which is another point of failure for flaky networks).
Configuration menu - View commit details
-
Copy full SHA for 60680d4 - Browse repository at this point
Copy the full SHA 60680d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c56d8a8 - Browse repository at this point
Copy the full SHA c56d8a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 624c5da - Browse repository at this point
Copy the full SHA 624c5daView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3325ff6 - Browse repository at this point
Copy the full SHA 3325ff6View commit details -
std: Fix a failing
fs
test on WindowsIn testing 4-core machines on Azure the `realpath_works_tricky` test in the standard library is failing with "The directory name is invalid". In attempting to debug this test I was able to reproduce the failure locally on my machine, and after inspecing the test it I believe is exploiting Unix-specific behavior that seems to only sometimes work on Windows. Specifically the test basically executes: mkdir -p a/b mkdir -p a/d touch a/f ln -s a/b/c ../d/e ln -s a/d/e ../f and then asserts that `canonicalize("a/b/c")` and `canonicalize("a/d/e")` are equivalent to `a/f`. On Windows however the first symlink is a "directory symlink" and the second is a file symlink. In both cases, though, they're pointing to files. This means that for whatever reason locally and on the 4-core environment the call to `canonicalize` is failing. On Azure today it seems to be passing, and I'm not entirely sure why. I'm sort of presuming that there's some sort of internals going on here where there's some global Windows setting which makes symlinks behavior more unix-like and ignore the directory hint. In any case this should keep the test working and also fixes the test locally for me.
Configuration menu - View commit details
-
Copy full SHA for 8d7fb87 - Browse repository at this point
Copy the full SHA 8d7fb87View commit details -
Configuration menu - View commit details
-
Copy full SHA for 870efe3 - Browse repository at this point
Copy the full SHA 870efe3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fb9295 - Browse repository at this point
Copy the full SHA 0fb9295View commit details
Commits on Jul 30, 2019
-
Rollup merge of rust-lang#61965 - phil-opp:patch-4, r=scottmcm
Remove mentions of removed `offset_to` method from `align_offset` docs The `offset_to` method was deleted in rust-lang#52814. The replacement for the removed method is `wrapping_offset_from`. However, neither method takes an `usize` as argument, so I don't think that it makes sense to mention them.
Configuration menu - View commit details
-
Copy full SHA for d436b66 - Browse repository at this point
Copy the full SHA d436b66View commit details -
Rollup merge of rust-lang#62928 - Centril:recover-parens-around-for-h…
…ead, r=estebank Syntax: Recover on `for ( $pat in $expr ) $block` Fixes rust-lang#62724 by adding some recovery: ``` error: unexpected closing `)` --> $DIR/recover-for-loop-parens-around-head.rs:10:23 | LL | for ( elem in vec ) { | --------------^ | | | opening `(` | help: remove parenthesis in `for` loop: `elem in vec` ``` The last 2 commits are drive-by cleanups. r? @estebank
Configuration menu - View commit details
-
Copy full SHA for 022f7a7 - Browse repository at this point
Copy the full SHA 022f7a7View commit details -
Rollup merge of rust-lang#63000 - max-sixty:chars-display, r=alexcric…
…hton Impl Debug for Chars Closes rust-lang#62947, making `Debug` more consistent with the struct's output and purpose Let me know any feedback!
Configuration menu - View commit details
-
Copy full SHA for 4838953 - Browse repository at this point
Copy the full SHA 4838953View commit details -
Rollup merge of rust-lang#63059 - Centril:sound-bind-by-move, r=matth…
…ewjasper Make `#![feature(bind_by_move_pattern_guards)]` sound without `#[feature(nll)]` Implements rust-lang#15287 (comment). Fixes rust-lang#31287 Fixes rust-lang#27282 r? @matthewjasper
Configuration menu - View commit details
-
Copy full SHA for 11a913c - Browse repository at this point
Copy the full SHA 11a913cView commit details -
Rollup merge of rust-lang#63083 - matthewjasper:parameter-hygiene, r=…
…petrochenkov Make generic parameters always use modern hygiene * E0263 (lifetime parameter declared twice in the same scope) now compares modernized identifiers. * Const parameters are now resolved with modern hygiene. Closes rust-lang#58307 Closes rust-lang#60746 Closes rust-lang#61574 Closes rust-lang#62433
Configuration menu - View commit details
-
Copy full SHA for cbce93c - Browse repository at this point
Copy the full SHA cbce93cView commit details -
Rollup merge of rust-lang#63087 - crlf0710:tidy_2018, r=Mark-Simulacrum
Add very simple edition check to tidy. Fixes rust-lang#58099.
Configuration menu - View commit details
-
Copy full SHA for b62ddfe - Browse repository at this point
Copy the full SHA b62ddfeView commit details -
Rollup merge of rust-lang#63093 - Aaron1011:fix/existential-closure, …
…r=cramertj Properly check the defining scope of existential types Fixes rust-lang#52632 Existential types (soon to be 'impl trait' aliases) can either be delcared at a top-level crate/module scope, or within another item such as an fn. Previously, we were handling the second case incorrectly when recursively searching for defining usages - we would check children of the item, but not the item itself. This lead to us missing closures that consituted a defining use of the existential type, as their opaque type instantiations are stored in the TypeckTables of their parent function. This commit ensures that we explicitly visit the defining item itself, not just its children.
Configuration menu - View commit details
-
Copy full SHA for e464c9d - Browse repository at this point
Copy the full SHA e464c9dView commit details -
Rollup merge of rust-lang#63096 - Centril:existential-type-add-tests,…
… r=varkor Add tests for some `existential_type` ICEs Fix rust-lang#53678 Fix rust-lang#60407 Fix rust-lang#60564 rust-lang#54899 will need some minimization before it can be added. r? @varkor
Configuration menu - View commit details
-
Copy full SHA for 94db68e - Browse repository at this point
Copy the full SHA 94db68eView commit details -
Rollup merge of rust-lang#63099 - josephlr:vxworks, r=alexcrichton
vxworks: Remove Linux-specific comments. It looks like the VxWorks fork inadvertently left in some Linux-specific workaround comments in `libstd`, these can be removed. Came up when looking into rust-lang#62516 CC: @BaoshanPang
Configuration menu - View commit details
-
Copy full SHA for bccaf45 - Browse repository at this point
Copy the full SHA bccaf45View commit details -
Rollup merge of rust-lang#63106 - alexcrichton:remove-swig-osx, r=pie…
…troalbini ci: Skip installing SWIG/xz on OSX I'm relatively certain that SWIG was only needed for LLDB which is no longer built, and I'm hoping we can remove the xz install to remove the reliance on `brew` for our build (which is another point of failure for flaky networks).
Configuration menu - View commit details
-
Copy full SHA for 4282391 - Browse repository at this point
Copy the full SHA 4282391View commit details -
Rollup merge of rust-lang#63108 - lzutao:option-xor-typo, r=jonas-sch…
…ievink Add links to None in Option doc r? @jonas-schievink
Configuration menu - View commit details
-
Copy full SHA for 4edc326 - Browse repository at this point
Copy the full SHA 4edc326View commit details -
Rollup merge of rust-lang#63109 - alexcrichton:disable-windows-fs-tes…
…t, r=sfackler std: Fix a failing `fs` test on Windows In testing 4-core machines on Azure the `realpath_works_tricky` test in the standard library is failing with "The directory name is invalid". In attempting to debug this test I was able to reproduce the failure locally on my machine, and after inspecing the test it I believe is exploiting Unix-specific behavior that seems to only sometimes work on Windows. Specifically the test basically executes: mkdir -p a/b mkdir -p a/d touch a/f ln -s a/b/c ../d/e ln -s a/d/e ../f and then asserts that `canonicalize("a/b/c")` and `canonicalize("a/d/e")` are equivalent to `a/f`. On Windows however the first symlink is a "directory symlink" and the second is a file symlink. In both cases, though, they're pointing to files. This means that for whatever reason locally and on the 4-core environment the call to `canonicalize` is failing. On Azure today it seems to be passing, and I'm not entirely sure why. I'm sort of presuming that there's some sort of internals going on here where there's some global Windows setting which makes symlinks behavior more unix-like and ignore the directory hint. In any case this should keep the test working and also fixes the test locally for me. It's also worth pointing out that this test was made Windows compatible in rust-lang#31360, a pretty ancient PR at this point.
Configuration menu - View commit details
-
Copy full SHA for b093fa9 - Browse repository at this point
Copy the full SHA b093fa9View commit details