bors
6810f5286b
Auto merge of #53793 - toidiu:ak-stabalize, r=nikomatsakis
...
stabilize outlives requirements
https://github.com/rust-lang/rust/issues/44493
r? @nikomatsakis
2018-09-12 11:27:48 +00:00
toidiu
731f4efae5
stabalize infer outlives requirements (RFC 2093).
...
Co-authored-by: nikomatsakis
2018-09-11 11:40:04 -04:00
Niko Matsakis
f95f23f0c3
fix incremental test
...
We are now carrying the user-given type through MIR, so it makes sense
that this would change the hash.
2018-09-10 17:24:43 -04:00
John Renner
9b27de41d4
Introduce Custom Test Frameworks
2018-09-04 22:33:00 -07:00
Donato Sciarra
062bfbf39b
mv codemap source_map
2018-08-19 23:01:01 +02:00
Donato Sciarra
d6dcbcd4e1
mv FileMap SourceFile
2018-08-19 23:00:59 +02:00
Michael Woerister
2d2cd21f95
Clean up CodegenUnit name generation.
2018-08-15 13:47:39 +02:00
Alex Crichton
b7ef674832
rustc: Use link_section, not wasm_custom_section
...
This commit transitions definitions of custom sections on the wasm target from
the unstable `#[wasm_custom_section]` attribute to the
already-stable-for-other-targets `#[link_section]` attribute. Mostly the same
restrictions apply as before, except that this now applies only to statics.
Closes #51088
2018-07-16 09:40:45 -07:00
Michael Woerister
6064efe928
Revert "Clean up CodegenUnit name generation."
...
This reverts commit 2c5cd9ce53 .
2018-07-16 08:58:40 +02:00
Michael Woerister
2c5cd9ce53
Clean up CodegenUnit name generation.
2018-07-11 17:52:57 +02:00
Alexander Regueiro
9f751a9c5a
Added incremental test for interlinking static references.
2018-06-30 23:53:52 +01:00
bors
862703e05e
Auto merge of #51414 - oli-obk:impl_trait_type_def, r=pnkfelix
...
Add existential type definitions
Note: this does not allow creating named existential types, it just desugars `impl Trait` to a less (but still very) hacky version of actual `existential type` items.
r? @nikomatsakis
2018-06-18 14:34:52 +00:00
toidiu
ea2012b2c7
create separate dep-nodes for predicates_of and explicit_predicates_of
2018-06-10 02:33:55 -04:00
Oliver Schneider
9b1bd94e37
Add existential type definitons
2018-06-07 17:33:53 +02:00
bors
a722296b6e
Auto merge of #50653 - oli-obk:bad_const, r=cramertj
...
Make the `const_err` lint `deny`-by-default
At best these things are runtime panics (debug mode) or overflows (release mode). More likely they are public constants that are unused in the crate declaring them.
This is not a breaking change, as dependencies won't break and root crates can `#![warn(const_err)]`, though I don't know why anyone would do that.
2018-05-18 17:17:35 +00:00
Irina Popa
b63d7e2b1c
Rename trans to codegen everywhere.
2018-05-17 15:08:30 +03:00
Oliver Schneider
1788af357a
Make the const_err lint deny-by-default
2018-05-12 16:21:02 +02:00
Oliver Schneider
a67ded06a3
Don't recurse into allocations, use a global table instead
2018-04-14 12:21:46 +02:00
Guillaume Gomez
812656dc95
Rename must-compile-successfully into compile-pass
2018-04-13 23:28:03 +02:00
Shotaro Yamada
3832e8b3e3
[incremental] Hash Allocations
2018-04-07 12:48:33 +09:00
bors
70248b1fcf
Auto merge of #49500 - oli-obk:mir_dep_graph, r=michaelwoerister
...
Introduce an edge from a const eval to the MIR of all statics it depends on
r? @michaelwoerister
2018-03-31 12:50:13 +00:00
Oliver Schneider
70c10f1f14
Introduce an edge from a const eval to the MIR of all statics it depends on
2018-03-30 12:31:48 +02:00
bors
051050dab9
Auto merge of #49424 - oli-obk:stable_allocid_hash, r=michaelwoerister
...
Fix stable hashing of AllocIds
r? @michaelwoerister
fixes #49081
2018-03-30 09:11:08 +00:00
Oliver Schneider
fa60b72123
Fix stable hashing of AllocIds
2018-03-28 10:12:04 +02:00
Taylor Cramer
0f5b52e4a8
Stabilize conservative_impl_trait
2018-03-26 10:43:03 +02:00
David Wood
3a0162b7cb
Fixed issues with incremental tests.
2018-03-23 14:04:08 +00:00
Oliver Schneider
13bfbe1394
Encode/decode extern statics in metadata and incremental cache
2018-03-20 10:36:45 +01:00
bors
a04b88d194
Auto merge of #49079 - oli-obk:cross_miri, r=michaelwoerister
...
Cleanup metadata and incremental cache processing of constants
fixes #49033
fixes #49081
we really need tests for this. do we have any cross compilation tests? I couldn't find any
2018-03-19 10:39:26 +00:00
Niko Matsakis
f02dc74c2c
extend stable hasher to support CanonicalTy
2018-03-16 12:49:37 -04:00
Oliver Schneider
49dac83f84
Cleanup metadata and incremental cache processing of constants
2018-03-16 17:22:37 +01:00
kennytm
92d1f8d8e4
Stabilize inclusive_range_syntax language feature.
...
Stabilize the syntax `a..=b` and `..=b`.
2018-03-15 16:58:02 +08:00
Michael Woerister
9f8b9a0d3e
incr.comp.: Add regression test for detecting feature gate changes.
2018-03-05 11:05:01 +01:00
Manish Goregaokar
fac7d7cfb2
Rollup merge of #48359 - jsgf:remap-path-prefix, r=sanxiyn
...
Fixes #47311 .
r? @nrc
2018-02-28 15:09:24 -08:00
Jeremy Fitzhardinge
56a6828533
Implement --remap-path-prefix
...
Remove experimental -Zremap-path-prefix-from/to, and replace it with
the stabilized --remap-path-prefix=from=to variant.
This is an implementation for issue of #41555 .
2018-02-22 15:13:21 -08:00
Eduard-Mihai Burtescu
6e5dacbd5e
rustc_mir: always run the deaggregator.
2018-02-20 02:50:26 +02:00
bobtwinkles
85dfa9d1a3
Fix tests for MIR loop lowering
...
Fixes the hash test to recognize that MirValidated can change when changing
around labels, and add a new test that makes sure we're lowering loop statements
correctly.
2018-02-07 20:00:54 -05:00
Eduard-Mihai Burtescu
6f8d263e87
tests: replace "lvalue" terminology with "place".
2018-01-29 11:48:12 +02:00
kennytm
470a8e1a97
Remove excessive trailing newlines.
2017-12-30 15:50:52 +08:00
Michael Woerister
a3c3245e91
incr.comp.: Mark DepKind node as input.
2017-12-18 15:40:07 +01:00
Niko Matsakis
b7794c0d3f
move resolve_lifetimes into a proper query
...
Now that we made `resolve_lifetimes` into a query, elision errors no
longer abort compilation, which affects some tests.
Also, remove `dep_graph_crosscontaminate_tables` -- there is no a path in
the dep-graph, though red-green handles it. The same scenario
is (correctly) tested by issue-42602.rs in any case.
2017-12-11 10:11:13 -05:00
Michael Woerister
c5dd9f5301
incr.comp.: Hash spans unconditionally for full accuracy.
2017-12-08 10:02:26 +01:00
Jeff Crocker
3f0cc7caca
Format function interface fingerprint hash tests
2017-12-05 15:27:14 -08:00
Jeff Crocker
104ebd2c43
Update 'while loop' fingerprint hash tests
2017-12-05 15:01:49 -08:00
Jeff Crocker
b8714c6040
Update 'while let loop' fingerprint hash tests
2017-12-05 14:57:35 -08:00
Jeff Crocker
3f48cbb455
Update loop expression fingerprint hash tests
2017-12-05 14:50:54 -08:00
Jeff Crocker
820ed30a85
Update inline asm fingerprint hash tests
2017-12-05 14:44:52 -08:00
Jeff Crocker
bc1754216d
Update function interface fingerprint hash tests
2017-12-05 14:40:13 -08:00
Jeff Crocker
bf3246fa10
Update for loop fingerprint hash tests
2017-12-05 14:13:58 -08:00
Jeff Crocker
77aee18c13
Update closure expression fingerprint hash tests
2017-12-05 14:03:24 -08:00
Michael Woerister
7ebccbb7a4
incr.comp.: Update test cases after metadata hashing removal.
2017-11-29 16:29:13 +01:00