-
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 10 pull requests #76786
Rollup of 10 pull requests #76786
Commits on Sep 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 8d96cc2 - Browse repository at this point
Copy the full SHA 8d96cc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7ce5b4 - Browse repository at this point
Copy the full SHA b7ce5b4View commit details
Commits on Sep 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c9686cb - Browse repository at this point
Copy the full SHA c9686cbView commit details -
fix syntax error in suggesting generic constraint in trait parameter
suggest `where T: Foo` for the first bound on a trait, then suggest `, T: Foo` when the suggested bound would add to an existing set of `where` clauses. `where T: Foo` may be the first bound if `T` has a default, because we'd rather suggest ``` trait A<T=()> where T: Copy ``` than ``` trait A<T: Copy=()> ``` for legibility reasons.
Configuration menu - View commit details
-
Copy full SHA for 0eac38b - Browse repository at this point
Copy the full SHA 0eac38bView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd57275 - Browse repository at this point
Copy the full SHA dd57275View commit details -
Configuration menu - View commit details
-
Copy full SHA for 035f879 - Browse repository at this point
Copy the full SHA 035f879View commit details -
Configuration menu - View commit details
-
Copy full SHA for b881551 - Browse repository at this point
Copy the full SHA b881551View commit details -
Jonas Schievink committed
Sep 14, 2020 Configuration menu - View commit details
-
Copy full SHA for 43709f7 - Browse repository at this point
Copy the full SHA 43709f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5112f87 - Browse repository at this point
Copy the full SHA 5112f87View commit details -
Use intra-doc links for
DelaySpanBugEmitted
Also improve the docs for it a bit.
Configuration menu - View commit details
-
Copy full SHA for 1f26a18 - Browse repository at this point
Copy the full SHA 1f26a18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15349ef - Browse repository at this point
Copy the full SHA 15349efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c1043a - Browse repository at this point
Copy the full SHA 5c1043aView commit details -
Co-authored-by: Esteban Küber <esteban@kuber.com.ar>
Configuration menu - View commit details
-
Copy full SHA for e1607c8 - Browse repository at this point
Copy the full SHA e1607c8View commit details -
Include non-JSON output in error display for lint-doc failure.
Some errors, like if rustc is broken, or dylib search path is wrong, will only display non-JSON errors. Show those, too, to make it easier to debug a problem.
Configuration menu - View commit details
-
Copy full SHA for 32efcfc - Browse repository at this point
Copy the full SHA 32efcfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dad908 - Browse repository at this point
Copy the full SHA 9dad908View commit details
Commits on Sep 16, 2020
-
document how to use memory addresses as operands
Co-authored-by: Amanieu <amanieu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e82be71 - Browse repository at this point
Copy the full SHA e82be71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87666e5 - Browse repository at this point
Copy the full SHA 87666e5View commit details -
Fix black_box bug detected by Amanieu
Co-authored-by: Amanieu <amanieu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4dc4e9f - Browse repository at this point
Copy the full SHA 4dc4e9fView commit details -
Rollup merge of rust-lang#76669 - lzutao:core_asm, r=Amanieu
Prefer asm! over llvm_asm! in core Replace llvm_asm! with asm! in core. x86 asm compare (in somecases I replaced generic type with String). * https://rust.godbolt.org/z/59eEMv * https://rust.godbolt.org/z/v78s6q * https://rust.godbolt.org/z/7qYY41
Configuration menu - View commit details
-
Copy full SHA for d1b0504 - Browse repository at this point
Copy the full SHA d1b0504View commit details -
Rollup merge of rust-lang#76675 - lzutao:asm_doc, r=Amanieu
Small improvements to asm documentation Save people from searching and reading tons of comments in tracking issues.
Configuration menu - View commit details
-
Copy full SHA for 6194d7e - Browse repository at this point
Copy the full SHA 6194d7eView commit details -
Rollup merge of rust-lang#76681 - tshepang:unused, r=Mark-Simulacrum
remove orphaned files Should been part of rust-lang#74163
Configuration menu - View commit details
-
Copy full SHA for c8bfbad - Browse repository at this point
Copy the full SHA c8bfbadView commit details -
Rollup merge of rust-lang#76694 - wesleywiser:partitioning_cx_trait, …
…r=davidtwco Introduce a PartitioningCx struct This contains all the data used by the partitioning algorithm and allows that data to be used at each stage of the partitioning. This is useful for other approaches to partitioning which may want different pieces of the data available at each step. cc @rust-lang/wg-incr-comp
Configuration menu - View commit details
-
Copy full SHA for 2c2f1c2 - Browse repository at this point
Copy the full SHA 2c2f1c2View commit details -
Rollup merge of rust-lang#76695 - iximeow:trait-generic-bound-suggest…
…ion, r=estebank fix syntax error in suggesting generic constraint in trait parameter suggest `where T: Foo` for the first bound on a trait, then suggest `, T: Foo` when the suggested bound would add to an existing set of `where` clauses. `where T: Foo` may be the first bound if `T` has a default, because we'd rather suggest ``` trait A<T=()> where T: Copy ``` than ``` trait A<T: Copy=()> ``` for legibility reasons. the test case i added here is derived from [this reproduction](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=0bf3ace9f2a183d0bdbd748c6b8e3971): ``` struct B<T: Copy> { t: T } trait A<T = ()> { fn returns_constrained_type(&self, t: T) -> B<T> { B { t } } } ``` where the suggested fix, ``` trait A<T = ()>, T: Copy { ... } ``` is in fact invalid syntax! i also found an error in the existing suggestion for `trait Base<T = String>: Super<T>` where rustc would suggest `trait Base<T = String>: Super<T>, T: Copy`, but `T: Copy` is the first of the trait's `where` clauses and should be `where T: Copy` as well. the test for that suggestion expects invalid syntax, and has been revised to a compiler-pleasing `trait Base<T = String>: Super<T> where T: Copy`. judging by rust-lang#70009 i'll.. cc @estebank ?
Configuration menu - View commit details
-
Copy full SHA for 54d7728 - Browse repository at this point
Copy the full SHA 54d7728View commit details -
Rollup merge of rust-lang#76699 - lcnr:const-infer-err, r=varkor
improve const infer error cc rust-lang#72328 reduces it from ``` error[E0282]: type annotations needed --> src/main.rs:17:5 | 17 | Foo.bar().bar().bar().bar().baz(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: unable to infer the value of a const parameter ``` to ``` error[E0282]: type annotations needed --> $DIR/method-chain.rs:21:33 | LL | Foo.bar().bar().bar().bar().baz(); | ^^^ | = note: cannot infer the value of the const parameter `N` ``` r? @varkor
Configuration menu - View commit details
-
Copy full SHA for 3f9e7fc - Browse repository at this point
Copy the full SHA 3f9e7fcView commit details -
Rollup merge of rust-lang#76707 - pickfire:patch-4, r=jonas-schievink
Simplify iter flatten struct doc
Configuration menu - View commit details
-
Copy full SHA for 9524fff - Browse repository at this point
Copy the full SHA 9524fffView commit details -
Rollup merge of rust-lang#76710 - rust-lang:rust-analyzer-2020-09-14,…
… r=jonas-schievink ⬆️ rust-analyzer r? @ghost
Configuration menu - View commit details
-
Copy full SHA for 7e202fc - Browse repository at this point
Copy the full SHA 7e202fcView commit details -
Rollup merge of rust-lang#76714 - camelid:patch-3, r=jonas-schievink
Small docs improvements @rustbot modify labels: T-doc T-compiler
Configuration menu - View commit details
-
Copy full SHA for b25261f - Browse repository at this point
Copy the full SHA b25261fView commit details -
Rollup merge of rust-lang#76717 - ehuss:fix-rustc-book-libdir, r=Mark…
…-Simulacrum Fix generating rustc docs with non-default lib directory. If `libdir` is set in `config.toml`, then the tool to generate the rustc docs was unable to run `rustc` because it could not find the shared libraries. The solution is to set the dylib search path to include the libdir. I changed the API of `add_rustc_lib_path` to take `Command` instead of `Cargo` to try to share the code in several places. This is how it worked before rust-lang#64316, and I think this still retains the spirit of that change. Fixes rust-lang#76702
Configuration menu - View commit details
-
Copy full SHA for f631293 - Browse repository at this point
Copy the full SHA f631293View commit details