Commit Graph

81662 Commits

Author SHA1 Message Date
Felix S. Klock II
97f3d21c64 Issue #51348: lower match so an ident gets a distinct temp *for each* candidate pat.
This required a bit of plumbing to keep track of candidates. But I
took advantage of the hack session to try to improve the docs for the
relevant structs here.

(I also tried to simplify some of the related code in passing.)
2018-07-26 13:15:31 +02:00
Felix S. Klock II
c636ded2c7 Improve the information provided when this assertion fails. 2018-07-26 13:15:31 +02:00
Petr Sumbera
051eddd9a9 sparc ABI issue - structure returning from function is returned
in 64bit registers

Fixes: #52638
2018-07-26 03:58:00 -07:00
Niko Matsakis
687f2526fb move mir_check_* to ui tests, add adjusted references 2018-07-26 08:21:35 +03:00
Tatsuyuki Ishi
62f73dc87c Refactor is_external_tool into source_type 2018-07-26 12:36:58 +09:00
Niko Matsakis
9f09127f4d fix reference file 2018-07-26 06:21:44 +03:00
Alex Crichton
12596893f9 Update the compiler-builtins submodule
Pull in a fix for japaric/libm#129
2018-07-25 18:12:39 -07:00
Alex Crichton
f069a57bb1 rustc: Register crates under their real names
Whenever we register a crate into the crate store, make sure to use the real
name mentioned in the metadata instead of the name mentioned in the `extern
crate` statement, as the statement can be wrong!

Closes #51796
2018-07-25 18:04:19 -07:00
Taylor Cramer
bce8a91f34 std::ops::Try impl for std::task::Poll 2018-07-25 17:26:12 -07:00
Jonathan Behrens
abb704ec78 State default capacity for BufReader/BufWriter 2018-07-26 00:49:35 +01:00
Niko Matsakis
118cad13a5 ignore code example in comment 2018-07-25 23:57:59 +03:00
Eduard-Mihai Burtescu
591eeff22a Change ManuallyDrop from an union to a struct and make it a lang item. 2018-07-25 21:01:02 +03:00
Niko Matsakis
21e4a0834e Nit: improve comment in hr-fn-aau-eq-abu.rs 2018-07-25 16:40:43 +03:00
Niko Matsakis
3171cbe986 Nit: improve Binders comment in relate_tys 2018-07-25 16:38:50 +03:00
Niko Matsakis
d85a7da8fe Nit: fix Debug impl of PlaceholderIndex 2018-07-25 16:37:05 +03:00
Niko Matsakis
e43096ff05 [nit] remove outdated comment 2018-07-25 16:36:40 +03:00
Niko Matsakis
0d918a8575 improve heuristics for what makes an interesting constraint 2018-07-25 16:36:03 +03:00
Niko Matsakis
76991ea237 [WIP] debug logs in error-reporting 2018-07-25 16:19:16 +03:00
Niko Matsakis
fa69e2183a [3f0fb4f7] improve comment on to_location 2018-07-25 16:18:37 +03:00
Oliver Schneider
01d4cd5aae 0-length arrays can even be mutably promoted 2018-07-25 14:09:06 +02:00
Gabriel Smith
be5b668a2e Place the ignore comments in the correct file for test issue-18804
Signed-off-by: Gabriel Smith <ga29smith@gmail.com>
2018-07-25 07:51:32 -04:00
Josef Reinhard Brandl
eacfd72522 Clarify what a task is 2018-07-25 13:39:14 +02:00
Oliver Schneider
ef5fba0067 Hide some lints which are not quite right the way they are reported to the user 2018-07-25 13:05:05 +02:00
ljedrz
f653bf4fba Improve readability in a few sorts 2018-07-25 12:13:02 +02:00
bors
fefe81605d Auto merge of #52561 - ljedrz:fixme_cc_271, r=alexcrichton
Remove obsolete armv5te vars from the dist-various-1 Dockerfile

The [related cc issue](https://github.com/alexcrichton/cc-rs/issues/271) is closed and its changes are in force.
2018-07-25 09:45:06 +00:00
Oliver Schneider
33712a8a10 Add type system canaries for potential future bugs 2018-07-25 10:50:30 +02:00
Oliver Schneider
01eacd8583 Remove useless comment 2018-07-25 10:49:01 +02:00
Oliver Schneider
93974cb09e Fix associated existentials for generic traits 2018-07-25 10:47:59 +02:00
Paolo Teti
580f437ff2 ARM: expose rclass and dsp target features
- `dsp`: the subtarget supports the DSP (saturating arith. and such)
         instructions
- `rclass`: target is a Cortex-R

Both features are useful to support ARM MCUs on `coresimd`.

Note: Cortex-R52 is the first Armv8-R with `neon` support
2018-07-25 09:27:55 +02:00
Tatsuyuki Ishi
a89f8e1340 bootstrap: use prepare_tool_cargo everywhere
In this way, RUSTC_NO_PREFER_DYNAMIC is already specified and not
needed.
2018-07-25 14:49:23 +09:00
Esteban Küber
9a893cc2b8 Add span label for format str missing specifier 2018-07-24 20:46:22 -07:00
Niko Matsakis
2acc3e7ce1 add regression test for #48071
Fixes #48071
2018-07-25 06:38:38 +03:00
Niko Matsakis
d9afd2bb38 introduce new subtyping 2018-07-25 06:38:22 +03:00
Niko Matsakis
b913df06f2 remove num_universal_regions etc from RegionValueElements 2018-07-25 06:38:22 +03:00
Niko Matsakis
2584216364 represent LivenessValues with a specialized type 2018-07-25 06:38:22 +03:00
Niko Matsakis
2fda456ddf extract region_value_str helper 2018-07-25 06:38:21 +03:00
Niko Matsakis
f277b394af generate extra liveness constraints before regioncx is created 2018-07-25 06:38:21 +03:00
Niko Matsakis
92786a48f8 consolidate and use find_sub_region_live_at for everything
remove the old blame system
2018-07-25 06:38:21 +03:00
Niko Matsakis
078220daa8 extract a best_blame_constraint helper 2018-07-25 06:38:21 +03:00
Niko Matsakis
9ba4d33e43 rewrite the "constraint graph search" to use a BFS instead of a DFS
This way we find the shortest path without having to sort etc
2018-07-25 06:38:21 +03:00
Niko Matsakis
4fce59f0fd remove unnecessary blame_span from report_region_errors 2018-07-25 06:38:20 +03:00
Niko Matsakis
52c94e9dec remove inefficiency for adding all points 2018-07-25 06:38:20 +03:00
Niko Matsakis
7c74518f50 SparseBitMatrix: add insert_all and add_all methods 2018-07-25 06:38:20 +03:00
Niko Matsakis
71fef95e76 SparseBitMatrix: add ensure_row helper fn 2018-07-25 06:38:20 +03:00
Niko Matsakis
3f0fb4f7d8 split into two matrices 2018-07-25 06:38:19 +03:00
Niko Matsakis
40498bae65 simplify NLLRegionVariableOrigin 2018-07-25 06:38:19 +03:00
Niko Matsakis
145155dc96 parameterize BitVector and BitMatrix by their index types 2018-07-25 06:38:19 +03:00
Esteban Küber
7bd94e0738 Rename method and remove commented out code 2018-07-24 20:37:38 -07:00
Tatsuyuki Ishi
c6d28442e8 Add missing dyn 2018-07-25 10:55:35 +09:00
Esteban Küber
3298b9f8c7 Fix unittest 2018-07-24 18:44:34 -07:00