Mark Rousskov
f390917bc2
Move dataflow to borrowck
...
No one else uses it.
2018-07-31 18:05:51 -06:00
Oliver Schneider
9377041de9
Sanity-check all constants
2018-07-29 20:22:15 +02:00
bors
4f1e235744
Auto merge of #52336 - ishitatsuyuki:dyn-rollup, r=Mark-Simulacrum
...
Rollup of bare_trait_objects PRs
All deny attributes were moved into bootstrap so they can be disabled with a line of config.
Warnings for external tools are allowed and it's up to the tool's maintainer to keep it warnings free.
r? @Mark-Simulacrum
cc @ljedrz @kennytm
2018-07-27 20:27:40 +00:00
Tatsuyuki Ishi
e098985939
Deny bare_trait_objects globally
2018-07-25 10:25:29 +09:00
Niko Matsakis
a54401ebcc
implement Step for Idx types
...
This way, we can iterate over a `Range<T>` where `T: Idx`
2018-07-25 00:11:31 +03:00
ljedrz
48e501f378
Deny bare trait objects in in src/librustc
2018-07-11 12:05:10 +02:00
bjorn3
c504d26c1c
Move time_graph.rs to rustc/util
2018-07-07 10:52:31 +02:00
bors
48af7714d8
Auto merge of #51717 - Mark-Simulacrum:snap, r=alexcrichton
...
Bootstrap from 1.28.0 beta
2018-06-30 21:01:05 +00:00
Mark Simulacrum
ad97f8b491
Bootstrap from 1.28.0-beta.3
2018-06-30 13:17:49 -07:00
Oliver Schneider
05994779ea
Move everything over from middle::const_val to mir::interpret
2018-06-28 11:02:31 +02:00
Guillaume Gomez
861c7cb9fd
Stabilize entry-or-default
2018-06-10 12:59:12 +02:00
John Kåre Alsaker
f9e6fbc4f7
Make queries block and handle query cycles
2018-06-06 15:25:16 +02:00
Michael Woerister
24dfcbef9c
Make const decoding from the incremental cache thread-safe.
2018-06-01 09:32:24 +02:00
Niko Matsakis
69ab6f2995
introduce shifted_in, shifted_out and friends
...
Co-authored-by: csmoe <35686186+csmoe@users.noreply.github.com>
2018-05-28 14:25:55 -04:00
bors
68e0e58df7
Auto merge of #50612 - Zoxc:thin-slice, r=michaelwoerister
...
Make &Slice a thin pointer
Split out from https://github.com/rust-lang/rust/pull/50395
r? @michaelwoerister
2018-05-28 07:59:21 +00:00
Mark Mansi
0e53b78830
Make anon params lint warn-by-default
2018-05-27 14:08:45 -05:00
John Kåre Alsaker
6c2d875261
Make &Slice a thin pointer
2018-05-27 17:28:35 +02:00
kennytm
e667e7be60
Rollup merge of #51047 - spastorino:use_polonius_engine_facts, r=nikomatsakis
...
Use AllFacts from polonius-engine
2018-05-26 19:32:22 +08:00
bors
990d8aa743
Auto merge of #50967 - oli-obk:miri_api_refactor, r=eddyb
...
Miri api refactor
r? @eddyb
cc @Zoxc
based on https://github.com/rust-lang/rust/pull/50916
2018-05-25 13:59:48 +00:00
Santiago Pastorino
8429d11a0b
Use AllFacts from polonius-engine
2018-05-24 19:56:02 -03:00
Oliver Schneider
5c8741f32e
Use in-band-lifetimes instead of unused explicit lifetimes
2018-05-24 20:49:38 +02:00
Niko Matsakis
6f425a9201
implement the chalk traits, albeit with many placeholders
2018-05-24 12:01:27 -04:00
varkor
edad2eff0c
Stabilise inclusive_range_methods
2018-05-17 20:58:28 +01:00
Mark Simulacrum
9e3432447a
Switch to 1.26 bootstrap compiler
2018-05-17 08:47:25 -06:00
Simon Sapin
89d9ca9b50
Stabilize num::NonZeroU*
...
Tracking issue: https://github.com/rust-lang/rust/issues/49137
2018-05-16 19:11:31 +02:00
varkor
b75f421ee9
Generalise more cases of explicit iteration of specific kinds
2018-05-15 14:21:03 +01:00
Alex Burka
e857c1b790
restore feature for stage0
2018-05-13 19:51:33 +00:00
Alex Burka
394945ee36
stabilize :lifetime
2018-05-13 19:51:32 +00:00
bors
0d8321b5e8
Auto merge of #50198 - oli-obk:const_prop, r=eddyb
...
Remove some unused code
2018-05-01 12:16:14 +00:00
kennytm
c916ee8511
Removed direct field usage of RangeInclusive in rustc itself.
2018-05-01 01:45:18 +08:00
Oliver Schneider
671b2a5964
Remove the rustc_const_math crate
2018-04-30 18:18:33 +02:00
kennytm
8b36d9abaa
Rollup merge of #49968 - christianpoveda:stabilize_dyn, r=nikomatsakis
...
Stabilize dyn trait
This PR stabilizes RFC 2113. I followed the [stabilization guide](https://forge.rust-lang.org/stabilization-guide.html ).
Related issue: https://github.com/rust-lang/rust/issues/49218
2018-04-28 03:32:12 +08:00
Christian Poveda
0efb5677d7
dyn_trait feature-gate just for stage0
2018-04-27 10:04:58 -05:00
John Kåre Alsaker
4d52751d12
Rename InternedString to LocalInternedString and introduce a new thread-safe InternedString
2018-04-27 03:35:32 +02:00
Irina Popa
38e964077b
Rename rustc_back::target to rustc_target::spec.
2018-04-26 16:39:44 +03:00
Felix S. Klock II
fadabd6fbb
Revert stabilization of feature(never_type).
...
This commit is just covering the feature gate itself and the tests
that made direct use of `!` and thus need to opt back into the
feature.
A follow on commit brings back the other change that motivates the
revert: Namely, going back to the old rules for falling back to `()`.
2018-04-20 18:09:28 +02:00
kennytm
77777b4528
Rollup merge of #49525 - varkor:sort_by_cached_key-conversion, r=scottmcm
...
Use sort_by_cached_key where appropriate
A follow-up to https://github.com/rust-lang/rust/pull/48639 , converting various slice sorting calls to `sort_by_cached_key` when the key functions are more expensive.
2018-04-11 19:56:41 +08:00
varkor
eacfb330e6
Convert sort_by_key to sort_by_cached_key
2018-04-09 16:43:48 +01:00
Mark Simulacrum
c115cc655c
Move deny(warnings) into rustbuild
...
This permits easier iteration without having to worry about warnings
being denied.
Fixes #49517
2018-04-08 16:59:14 -06:00
Alex Crichton
8958815916
Bump the bootstrap compiler to 1.26.0 beta
...
Holy cow that's a lot of `cfg(stage0)` removed and a lot of new stable language
features!
2018-04-05 07:13:45 -07:00
Taylor Cramer
e6e6bd27d5
Stabilize underscore lifetimes
2018-03-29 00:27:50 +02:00
Taylor Cramer
3c65f53620
Stabilize match_default_bindings
...
This includes a submodule update to rustfmt
in order to allow a stable feature declaration.
2018-03-28 11:13:13 +02:00
Mark Mansi
db7d9ea480
Stabilize i128 feature too
2018-03-26 08:37:56 -05:00
Mark Mansi
7ce8191775
Stabilize i128_type
2018-03-26 08:36:50 -05:00
Taylor Cramer
0f5b52e4a8
Stabilize conservative_impl_trait
2018-03-26 10:43:03 +02:00
Taylor Cramer
c393db67ba
Stabilize universal_impl_trait
2018-03-26 07:39:38 +02:00
Simon Sapin
ee67e14034
Stabilize the copy_closures and clone_closures features
...
In addition to the `Fn*` family of traits, closures now implement `Copy` (and similarly `Clone`) if all of the captures do.
2018-03-23 11:37:07 +01:00
Niko Matsakis
9d5ec9ef1a
work around fallout from these changes in rustc
2018-03-21 05:40:59 -04:00
kennytm
939cfa251a
Keep the fields of RangeInclusive unstable.
2018-03-15 17:01:30 +08:00
kennytm
92d1f8d8e4
Stabilize inclusive_range_syntax language feature.
...
Stabilize the syntax `a..=b` and `..=b`.
2018-03-15 16:58:02 +08:00