-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 8 pull requests #63554
Rollup of 8 pull requests #63554
Commits on Jul 28, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3b229f1 - Browse repository at this point
Copy the full SHA 3b229f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5800bec - Browse repository at this point
Copy the full SHA 5800becView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3677c5b - Browse repository at this point
Copy the full SHA 3677c5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e4c39e1 - Browse repository at this point
Copy the full SHA e4c39e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 388d99d - Browse repository at this point
Copy the full SHA 388d99dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74fbdb6 - Browse repository at this point
Copy the full SHA 74fbdb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 647c0e0 - Browse repository at this point
Copy the full SHA 647c0e0View commit details
Commits on Aug 10, 2019
-
rustc: implement argsfiles for command line
This makes `rustc` support `@path` arguments on the command line. The `path` is opened and the file is interpreted as new command line options which are logically inserted at that point in the command-line. The options in the file are one per line. The file is UTF-8 encoded, and may have either Unix or Windows line endings. It does not support recursive use of `@path`. This is useful for very large command lines, or when command-lines are being generated into files by other tooling.
Configuration menu - View commit details
-
Copy full SHA for f0e3258 - Browse repository at this point
Copy the full SHA f0e3258View commit details -
Use named arguments for formatting usage message.
It was getting a bit awkward.
Configuration menu - View commit details
-
Copy full SHA for a0dbeea - Browse repository at this point
Copy the full SHA a0dbeeaView commit details -
Use BufReader::lines() to parse out the lines
It already imlements the right behaviour, and it saves us implementing the state machine.
Configuration menu - View commit details
-
Copy full SHA for 4fc66a7 - Browse repository at this point
Copy the full SHA 4fc66a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 892ae41 - Browse repository at this point
Copy the full SHA 892ae41View commit details
Commits on Aug 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for a4af9d1 - Browse repository at this point
Copy the full SHA a4af9d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90793c0 - Browse repository at this point
Copy the full SHA 90793c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c69b3ed - Browse repository at this point
Copy the full SHA c69b3edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b65133 - Browse repository at this point
Copy the full SHA 3b65133View commit details -
Configuration menu - View commit details
-
Copy full SHA for 231da7e - Browse repository at this point
Copy the full SHA 231da7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e32bd69 - Browse repository at this point
Copy the full SHA e32bd69View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6f980f - Browse repository at this point
Copy the full SHA e6f980fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 49740b7 - Browse repository at this point
Copy the full SHA 49740b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37f37a5 - Browse repository at this point
Copy the full SHA 37f37a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for ddf734d - Browse repository at this point
Copy the full SHA ddf734dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c8fc4c1 - Browse repository at this point
Copy the full SHA c8fc4c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71415ef - Browse repository at this point
Copy the full SHA 71415efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f6cb5f - Browse repository at this point
Copy the full SHA 2f6cb5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76a1345 - Browse repository at this point
Copy the full SHA 76a1345View commit details -
Remove redundant
ty
fields frommir::Constant
and `hair::pattern:……:PatternRange`.
Configuration menu - View commit details
-
Copy full SHA for c037597 - Browse repository at this point
Copy the full SHA c037597View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2882bee - Browse repository at this point
Copy the full SHA 2882beeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 22127b1 - Browse repository at this point
Copy the full SHA 22127b1View commit details -
Fix indentation nit in src/librustc/mir/mod.rs.
Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d30f481 - Browse repository at this point
Copy the full SHA d30f481View commit details
Commits on Aug 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 13fd466 - Browse repository at this point
Copy the full SHA 13fd466View commit details -
Configuration menu - View commit details
-
Copy full SHA for 376636e - Browse repository at this point
Copy the full SHA 376636eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5404f0 - Browse repository at this point
Copy the full SHA b5404f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25d507f - Browse repository at this point
Copy the full SHA 25d507fView commit details
Commits on Aug 14, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9348af8 - Browse repository at this point
Copy the full SHA 9348af8View commit details -
Rollup merge of rust-lang#62984 - nathanwhit:extra_semi_lint, r=varkor
Add lint for excess trailing semicolons Closes rust-lang#60876. A caveat (not necessarily a negative, but something to consider) with this implementation is that excess semicolons after return/continue/break now also cause an 'unreachable statement' warning. For the following example: ``` fn main() { extra_semis(); } fn extra_semis() -> i32 { let mut sum = 0;;; for i in 0..10 { if i == 5 { continue;; } else if i == 9 { break;; } else { sum += i;; } } return sum;; } ``` The output is: ``` warning: unnecessary trailing semicolons --> src/main.rs:5:21 | 5 | let mut sum = 0;;; | ^^ help: remove these semicolons | = note: `#[warn(redundant_semicolon)]` on by default warning: unnecessary trailing semicolon --> src/main.rs:8:22 | 8 | continue;; | ^ help: remove this semicolon warning: unnecessary trailing semicolon --> src/main.rs:10:19 | 10 | break;; | ^ help: remove this semicolon warning: unnecessary trailing semicolon --> src/main.rs:12:22 | 12 | sum += i;; | ^ help: remove this semicolon warning: unnecessary trailing semicolon --> src/main.rs:15:16 | 15 | return sum;; | ^ help: remove this semicolon warning: unreachable statement --> src/main.rs:8:22 | 8 | continue;; | ^ | = note: `#[warn(unreachable_code)]` on by default warning: unreachable statement --> src/main.rs:10:19 | 10 | break;; | ^ warning: unreachable statement --> src/main.rs:15:16 | 15 | return sum;; | ^ ```
Configuration menu - View commit details
-
Copy full SHA for 902cfac - Browse repository at this point
Copy the full SHA 902cfacView commit details -
Rollup merge of rust-lang#63075 - RalfJung:deref-checks, r=oli-obk
Miri: Check that a ptr is aligned and inbounds already when evaluating `*` This syncs Miri with what the Nomicon and the Reference say, and resolves rust-lang/miri#447. Also this would not have worked without rust-lang#62982 due to new cycles. ;) r? @oli-obk
Configuration menu - View commit details
-
Copy full SHA for 2697a29 - Browse repository at this point
Copy the full SHA 2697a29View commit details -
Rollup merge of rust-lang#63175 - jsgf:argsfile, r=alexcrichton
rustc: implement argsfiles for command line Many tools, such as gcc and gnu-ld, support "args files" - that is, being able to specify @file on the command line. This causes `file` to be opened and parsed for command line options. They're separated with whitespace; whitespace can be quoted with double or single quotes, and everything can be \\-escaped. Args files may recursively include other args files via `@file2`. See https://sourceware.org/binutils/docs/ld/Options.html#Options for the documentation of gnu-ld's @file parameters. This is useful for very large command lines, or when command lines are being generated into files by other tooling.
Configuration menu - View commit details
-
Copy full SHA for 91e48b5 - Browse repository at this point
Copy the full SHA 91e48b5View commit details -
Rollup merge of rust-lang#63490 - Centril:cleanup-pat-parser, r=petro…
…chenkov libsyntax: cleanup and refactor `pat.rs` A smaller refactoring & cleanup of `pat.rs` (best read commit by commit). r? @petrochenkov
Configuration menu - View commit details
-
Copy full SHA for a607786 - Browse repository at this point
Copy the full SHA a607786View commit details -
Rollup merge of rust-lang#63495 - eddyb:mir-constant-ty, r=oli-obk
Remove redundant `ty` fields from `mir::Constant` and `hair::pattern::PatternRange`. Fixes rust-lang#56137. As a side-effect, associated const literals have the correct type now, which should make things easier for rust-lang#61041. r? @oli-obk / @matthewjasper cc @davidtwco @varkor
Configuration menu - View commit details
-
Copy full SHA for baab604 - Browse repository at this point
Copy the full SHA baab604View commit details -
Rollup merge of rust-lang#63509 - estebank:async-span, r=Centril
Point at the right enclosing scope when using `await` in non-async fn Fix rust-lang#63398.
Configuration menu - View commit details
-
Copy full SHA for 3c08dfc - Browse repository at this point
Copy the full SHA 3c08dfcView commit details -
Rollup merge of rust-lang#63528 - petrochenkov:anyany, r=estebank
syntax: Remove `DummyResult::expr_only` The effect is that if a built-in macro both returns an erroneous AST fragment and is used in unexpected position, then the incorrect position error won't be reported. This combination of two errors should be rare and isn't worth an extra field that makes people ask questions in comments. (There wasn't even a test making sure it worked.) Addresses rust-lang#63468 (comment) r? @estebank
Configuration menu - View commit details
-
Copy full SHA for 159efeb - Browse repository at this point
Copy the full SHA 159efebView commit details -
Rollup merge of rust-lang#63542 - c410-f3r:node_ids, r=petrochenkov
Add NodeId for Arm, Field and FieldPat Extracted from rust-lang#63468
Configuration menu - View commit details
-
Copy full SHA for 82f2dad - Browse repository at this point
Copy the full SHA 82f2dadView commit details