Matthew Jasper
df5d072172
Move conflict error reporting to its own module
2019-05-21 20:38:17 +01:00
Matthew Jasper
ebd6c7164e
Dont show variables from desugarings in borrowck errors
2019-05-21 20:38:17 +01:00
Pietro Albini
190d1988e0
ci: switch to xcode 9.3 on azure
2019-05-21 21:25:42 +02:00
Alex Crichton
8d42b87ac0
Use new-style s3 urls in docker download script
2019-05-21 12:20:50 -07:00
Alex Crichton
0f4b546af3
Go back to fewer builders to test on try
2019-05-21 12:09:44 -07:00
Alex Crichton
7b7e172f6d
Place timeouts at the job level
2019-05-21 12:06:47 -07:00
Matthew Jasper
0835048ea0
Fix match ergonomics suggestion
2019-05-21 19:37:39 +01:00
Mazdak Farrokhzad
015a45156f
Comment style fixes
...
Co-Authored-By: matthewjasper <mjjasper1@gmail.com>
2019-05-21 19:37:39 +01:00
Matthew Jasper
2420d82a7c
Add a test for match scopes
2019-05-21 19:37:38 +01:00
Matthew Jasper
abab9efbdb
Schedule storage-dead of temporaries sooner
...
This ensures that we will correctly generate a storage-dead if the
initializing expression diverges.
2019-05-21 19:37:38 +01:00
Matthew Jasper
b5643f1a49
Emit fake borrows for all tests
...
I was incorrectly under the impression that this would only lead to
duplicates. See `mir-opt/match-arm-scope.rs` (upcomming commit) for a
case where we didn't emit a fake borrow of `items.1`.
2019-05-21 19:37:38 +01:00
Matthew Jasper
0f507246e7
Remove MIR borrowck hack for old match scopes
2019-05-21 19:37:38 +01:00
Matthew Jasper
f506aea1fa
Give match arms a drop/region scope
...
Also give arms the correct lint scope in MIR.
2019-05-21 19:37:38 +01:00
Matthew Jasper
af6a9a2c62
Handle the visibility/lint scope distinction better
...
* Don't generate an extra lint scope for each `let` statement.
* Place match guards inside the visiblility scope of the bindings for
their arm.
2019-05-21 19:37:38 +01:00
Matthew Jasper
e784595c28
Respect lint attributes on match arms
2019-05-21 19:37:38 +01:00
Matthew Jasper
4bfb0453f5
Give match arms an HirId and a Span
2019-05-21 19:37:38 +01:00
Matthew Jasper
615c23f6ec
Remove unused parameter from in(_opt)?_scope
2019-05-21 19:37:38 +01:00
Alex Crichton
a2255518c7
Only run Window script on Windows
2019-05-21 11:01:39 -07:00
Alex Crichton
e8f0e70b00
Typos
2019-05-21 10:57:16 -07:00
Alex Crichton
55108b379e
Run a full build on try
temporarily
2019-05-21 10:45:13 -07:00
Alex Crichton
ebdc36eb8e
Re-enable hack for Windows builds to see if it works
2019-05-21 10:39:37 -07:00
Alex Crichton
a83250dcfa
Update upload logic to upload right directory
2019-05-21 10:38:05 -07:00
Alex Crichton
571366f71b
Attempt to enable IPv6 for Linux
2019-05-21 10:33:19 -07:00
Alex Crichton
0e5f02f902
Fix typo in key configuration
2019-05-21 10:28:56 -07:00
Jethro Beekman
33fb1c501c
Add FAQ for NLL migration
2019-05-21 09:52:05 -07:00
John Kåre Alsaker
0b37900b40
Specify the edition for the rustdoc thread-pool
2019-05-21 18:17:06 +02:00
John Kåre Alsaker
a1f2dceaeb
Move edition
outside the hygiene lock and avoid accessing it
2019-05-21 18:17:05 +02:00
Ralf Jung
a2168b0259
update doc comment
2019-05-21 17:14:09 +02:00
topecongiro
1f1a9176e7
Fix tidy: remove a trailing whitespace
2019-05-21 23:17:59 +09:00
topecongiro
b07dbe1d44
Add doc comment
2019-05-21 22:57:34 +09:00
Michael Woerister
46e3d04b2b
debuginfo: Revert to old/more verbose behavior for -Cdebuginfo=1.
...
https://github.com/rust-lang/rust/commit/cff075009 made LLVM emit
less debuginfo when compiling with "line-tables-only". The change
was essentially correct but the reduced amount of debuginfo broke
a number of tools.
This commit reverts the change so we get back the old behavior,
until we figure out how to do this properly and give external
tools to adapt to the new format.
See https://github.com/rust-lang/rust/issues/60020 for more info.
2019-05-21 13:48:29 +02:00
Ralf Jung
61735abc06
adjust deprecation date of mem::uninitialized
2019-05-21 13:10:28 +02:00
Pietro Albini
d2304e1e26
ci: increase timeout, take 2
2019-05-21 12:30:10 +02:00
Nicholas Nethercote
b557567c35
Remove impls for InternedString
/string equality.
...
`Symbol` received the same treatment in #60630 .
Also, we can derive `PartialEq` for `InternedString`.
2019-05-21 20:08:33 +10:00
Pietro Albini
67db230477
ci: fix tidy
2019-05-21 10:51:37 +02:00
Pietro Albini
1daab471ce
ci: temp increase of the timeout to 10 hours
...
Let's see how long a full build takes.
2019-05-21 10:27:41 +02:00
Pietro Albini
e6830c1ac1
Merge pull request #2 from alexcrichton/azure-pipelines
...
Some review feedback and other misc tweaks
2019-05-21 10:20:36 +02:00
Ralf Jung
5ea5fe3072
static_assert: make use of anonymous constants
2019-05-21 09:10:24 +02:00
bors
50a0defd5a
Auto merge of #60903 - nnethercote:mv-gensyms-from-Symbol-to-Ident, r=petrochenkov
...
Move gensym operations from `Symbol` to `Ident`
Gensyms are always at the `Ident` level, and long-term we probably want to record gensym-ness in hygiene data.
r? @petrochenkov
2019-05-21 06:37:03 +00:00
topecongiro
e186d3f3e0
Add stream_to_parser_with_base_dir
2019-05-21 13:18:20 +09:00
bors
46ad3e1882
Auto merge of #60950 - taiki-e:arbitrary_self_types-tests, r=Centril
...
Move arbitrary self types's tests into ui/self
https://github.com/rust-lang/rust/pull/60944#discussion_r285362006
r? @Centril
2019-05-21 03:44:09 +00:00
Brent Kerby
4e37785c7d
Create and reference Memory Layout section of boxed docs
2019-05-20 21:03:40 -06:00
bors
b7f6b8a56b
Auto merge of #60985 - cr1901:msp430-fix, r=alexcrichton
...
Bump LLVM submodule to fix MSP430 AsmPrinter and assembler syntax mismatch.
Moving on to steps 9 and 10 of the llvm bugfix [guide](https://rust-lang.github.io/rustc-guide/codegen/updating-llvm.html#bugfix-updates ), now that Rust's copy of LLVM was [updated](https://github.com/rust-lang/llvm-project/pull/13 ).
This PR closes issue #59077 . Nightlies following this PR should have working msp430 codegen again :D.
Thanks for the prompt response even though it took me a while to get this "simple" PR done!
2019-05-21 00:50:12 +00:00
Santiago Pastorino
419ca9d640
LocalDecl push returns Local len
2019-05-20 20:13:58 -03:00
MaulingMonkey
56b18ce637
Address CDB review feedback
...
- Don't add path_buf_capacity feature.
- Convert `find_cdb` to early return style, reducing indentation
- Simplify `compute_stamp_hash` for CDB to just hash it's path, if any.
2019-05-20 15:00:36 -07:00
bors
09189591c4
Auto merge of #60986 - Centril:rollup-nhpgrfb, r=Centril
...
Rollup of 11 pull requests
Successful merges:
- #60383 (Fix position source code files toggle)
- #60453 (Fall back to `/dev/urandom` on `EPERM` for `getrandom`)
- #60487 (Fix search sidebar width when no crate select is present)
- #60511 (Fix intra-doc link resolution failure on re-exporting libstd)
- #60823 (Fix incremental compilation of cdylib emitting spurious unused_attributes lint)
- #60915 (stable hashing: Remove unused field and add documentation.)
- #60942 (Misc changes to rustc_metadata)
- #60952 (Document BinaryHeap time complexity)
- #60959 (rustc: Improve type size assertions)
- #60972 (remove confusing remarks about mixed volatile and non-volatile accesses)
- #60983 (Set -funwind-tables and -fno-exceptions unconditionally for LLVM's libunwind)
Failed merges:
r? @ghost
2019-05-20 21:38:19 +00:00
Alex Crichton
9843a79496
Finalize AWS install
2019-05-20 14:37:24 -07:00
Alex Crichton
12f370156d
Only execute conditional steps on success
...
Make sure `succeeded()` is in all the conditionals
2019-05-20 14:34:37 -07:00
Alex Crichton
9b8af0608f
Manually install AWS CLI
2019-05-20 14:19:56 -07:00
Mazdak Farrokhzad
0c97800f93
Rollup merge of #60983 - petrhosek:libunwind-no-exceptions, r=alexcrichton
...
Set -funwind-tables and -fno-exceptions unconditionally for LLVM's libunwind
These are required otherwise libunwind will end up with undefined
references to __gxx_personality_v0 which is provided by C++ ABI
library and that's undesirable.
2019-05-20 23:03:10 +02:00