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
Niko Matsakis
3f0fb4f7d8
split into two matrices
2018-07-25 06:38:19 +03: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
bors
254f8796b7
Auto merge of #52352 - kennytm:rollup, r=kennytm
...
Rollup of 17 pull requests
Successful merges:
- #51962 (Provide llvm-strip in llvm-tools component)
- #52003 (Implement `Option::replace` in the core library)
- #52156 (Update std::ascii::ASCIIExt deprecation notes)
- #52280 (llvm-tools-preview: fix build-manifest)
- #52290 (Deny bare trait objects in src/librustc_save_analysis)
- #52293 (Deny bare trait objects in librustc_typeck)
- #52299 (Deny bare trait objects in src/libserialize)
- #52300 (Deny bare trait objects in librustc_target and libtest)
- #52302 (Deny bare trait objects in the rest of rust)
- #52310 (Backport 1.27.1 release notes to master)
- #52315 (Resolve FIXME(#27942 ))
- #52316 (task: remove wrong comments about non-existent LocalWake trait)
- #52322 (Update llvm-rebuild-trigger in light of LLVM 7 upgrade)
- #52330 (Don't silently ignore invalid data in target spec)
- #52333 (CI: Enable core dump on Linux, and print their stack trace on segfault. )
- #52346 (Fix typo in improper_ctypes suggestion)
- #52350 (Bump bootstrap compiler to 1.28.0-beta.10)
Failed merges:
r? @ghost
2018-07-13 19:49:11 +00:00
ashtneoi
52d6ae854d
Reimplement some "add mut
" suggestions under NLL
...
Specifically, `&self` -> `&mut self` and explicit `ref` -> `ref mut`.
Implicit `ref` isn't handled yet and causes an ICE.
2018-07-12 22:51:30 -07:00
ljedrz
5058af7003
Deny bare trait objects in the rest of rust
2018-07-12 13:50:22 +02:00
John Kåre Alsaker
d86eb784d6
Parallelize trans item collection
2018-06-19 03:19:50 +02:00
Eduard-Mihai Burtescu
5a5c7ded0d
rustc: rename ty::maps to ty::query.
2018-06-14 18:05:12 +03:00
Santiago Pastorino
9de4e342df
Use polonius_output
2018-05-29 10:19:46 -03:00
Santiago Pastorino
8429d11a0b
Use AllFacts from polonius-engine
2018-05-24 19:56:02 -03: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
John Kåre Alsaker
0aa92acda7
Add a query to convert from ConstValue to Allocation
2018-05-11 13:01:44 +02:00
Niko Matsakis
eaac10ec0d
add -Znll-facts
switch that dumps facts for new analysis
2018-05-05 06:03:25 -04: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
Irina Popa
38e964077b
Rename rustc_back::target to rustc_target::spec.
2018-04-26 16:39:44 +03:00
kennytm
42b6d4653a
Add back missing #![feature(never_type)]
s
2018-04-21 15:18:13 +08:00
Niko Matsakis
70592664b6
relocate BorrowData
etc into borrow_check::borrow_set
2018-04-15 07:06:27 -04:00
bors
252a459d37
Auto merge of #49371 - scottmcm:catch-wrapping, r=nikomatsakis
...
Add ok-wrapping to catch blocks, per RFC
Updates the `catch{}` lowering to wrap the result in `Try::from_ok`.
r? @nikomatsakis
Fixes #41414
Fixes #43818
2018-04-12 05:38:49 +00: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
bors
43e994c8b8
Auto merge of #49715 - Mark-Simulacrum:deny-warnings, r=alexcrichton
...
Move deny(warnings) into rustbuild
This permits easier iteration without having to worry about warnings
being denied.
Fixes #49517
2018-04-11 03:30:04 +00:00
Scott McMurray
c4b6521327
Add ok-wrapping to catch blocks, per RFC
2018-04-10 20:03:40 -07:00
bors
0b72d48f8e
Auto merge of #48914 - gaurikholkar:e0389, r=nikomatsakis
...
Modify compile-fail/E0389 error message WIP
This fixes #47388
cc @nikomatsakis @estebank
r? @nikomatsakis
Certain ui tests were failing locally. I'll check if the same happens here too.
2018-04-10 19:00:19 +00: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
gaurikholkar
1b06fe1ef5
Merge branch 'master' of https://github.com/rust-lang/rust into e0389
2018-04-05 21:52:40 +05:30
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
Aidan Hobson Sayers
9b5859aea1
Remove all unstable placement features
...
Closes #22181 , #27779
2018-04-03 11:02:34 +02: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
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
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
kennytm
b5913f2e76
Stabilize inclusive_range
library feature.
...
Stabilize std::ops::RangeInclusive and std::ops::RangeInclusiveTo.
2018-03-15 16:58:01 +08:00
Andrew Cann
a9fc3901b0
stabilise feature(never_type)
...
Replace feature(never_type) with feature(exhaustive_patterns).
feature(exhaustive_patterns) only covers the pattern-exhaustives checks
that used to be covered by feature(never_type)
2018-03-14 12:44:51 +08:00
gaurikholkar
bfc9b76159
add collect_writes.rs
2018-03-10 20:52:22 +05:30
Oliver Schneider
8c8a433532
Merge const linting pass into const prop
2018-03-08 08:34:14 +01:00
Oliver Schneider
ef995bde50
Move the pattern checking code to hair
2018-03-08 08:34:11 +01:00
Oliver Schneider
bb81f9bdec
only export the two check* functions from check_match
2018-03-08 08:34:11 +01:00
Oliver Schneider
1543367624
The const_eval
module is no more
2018-03-08 08:34:11 +01:00
Oliver Schneider
e97089dae3
Move librustc_const_eval to librustc_mir
2018-03-08 08:08:14 +01:00
Manish Goregaokar
40f218f703
Remove allow(bare_trait_object) from librustc_mir
2018-03-02 21:02:37 -08:00
Manish Goregaokar
f57835b7f4
Rollup merge of #48461 - Manishearth:epoch-dyn-trait, r=nmatsakis
...
Fixes #47311 .
r? @nrc
2018-02-28 15:09:29 -08:00