Mazdak Farrokhzad
543f457169
Rollup merge of #58245 - taiki-e:librustc_lint-2018, r=Centril
...
librustc_lint => 2018
Transitions `librustc_lint` to Rust 2018; cc #58099
r? @Centril
2019-02-09 00:15:52 +01:00
Mazdak Farrokhzad
2b8ed1e1bd
Rollup merge of #58233 - taiki-e:librustc_save_analysis-2018, r=Centril
...
librustc_save_analysis => 2018
Transitions `librustc_save_analysis` to Rust 2018; cc #58099
r? @Centril
2019-02-09 00:15:50 +01:00
Mazdak Farrokhzad
5b4cf9b90d
Rollup merge of #58222 - taiki-e:librustc_allocator-2018, r=Centril
...
librustc_allocator => 2018
Transitions `librustc_allocator` to Rust 2018; cc #58099
r? @Centril
2019-02-09 00:15:49 +01:00
Mazdak Farrokhzad
6f5941e113
Rollup merge of #58120 - h-michael:build_helper-theme-2018, r=Centril
...
Transition build_helper to 2018 edition
Transitions build_helper to Rust 2018; cc #58099
r? @Centril
2019-02-09 00:15:48 +01:00
Mazdak Farrokhzad
f674779012
Rollup merge of #58115 - h-michael:rustdoc-2018, r=Centril
...
Transition rustdoc to 2018 edition
Transitions rustdoc to Rust 2018; cc #58099
2019-02-09 00:15:46 +01:00
Mazdak Farrokhzad
dbd73f640f
Rollup merge of #58091 - phansch:compiletest2018, r=Centril
...
Transition compiletest to Rust 2018
This transitions `src/tools/compiletest` to Rust 2018.
cc #58099
2019-02-09 00:15:44 +01:00
Patrick McCarter
7854067044
Saturating add/sub intrinsic emulation refactor/comments #58030
2019-02-08 13:04:11 -05:00
bors
a2ec156a5b
Auto merge of #58161 - davidtwco:issue-57960, r=arielb1
...
Lower constant patterns with ascribed types.
Fixes #57960 .
This PR fixes a bug introduced by #55937 which started checking user
type annotations for associated type patterns. Where lowering a
associated constant expression would previously return a
`PatternKind::Constant`, it now returns a `PatternKind::AscribeUserType`
with a `PatternKind::Constant` inside, this PR unwraps that to
access the constant pattern inside and behaves as before.
r? @pnkfelix
2019-02-08 17:13:56 +00:00
Taiki Endo
3e2b5a4b08
librustc_data_structures => 2018
2019-02-09 01:36:22 +09:00
varkor
5f41f8be30
Deny warnings in std stage 0
2019-02-08 16:45:58 +01:00
gnzlbg
7d6bfc53c8
Extract block to insert an intrinsic into its own function
2019-02-08 16:41:37 +01:00
Esteban Küber
802c897eb3
review comments: (marginally) reduce memory consumtion
2019-02-08 06:37:29 -08:00
bors
0710c2026f
Auto merge of #58294 - hrls:master, r=GuillaumeGomez
...
fix rustdoc JS
#58290
2019-02-08 14:16:14 +00:00
varkor
bb1eed0ec8
Correct descriptive item name for impl
2019-02-08 15:07:26 +01:00
Taiki Endo
fe276239b3
librustc_typeck => 2018
2019-02-08 22:30:58 +09:00
varkor
03d4fd973a
Use descriptive variant name
2019-02-08 14:30:13 +01:00
Taiki Endo
4f2e97e0ed
librustc_incremental => 2018
2019-02-08 21:16:35 +09:00
Taiki Endo
a2c4a36c61
librustc_borrowck => 2018
2019-02-08 21:11:10 +09:00
Taiki Endo
0e622a8ba1
librustc_codegen_utils => 2018
2019-02-08 21:06:07 +09:00
Taiki Endo
a7241c8ca6
librustc_target => 2018
2019-02-08 21:00:07 +09:00
Taiki Endo
fed677e56f
librustc_cratesio_shim => 2018
2019-02-08 20:55:12 +09:00
Taiki Endo
7267bc2d4a
librustc_metadata => 2018
2019-02-08 20:50:17 +09:00
Taiki Endo
bf531bd459
librustc_passes => 2018
2019-02-08 20:40:49 +09:00
Guillaume Gomez
b962ecc6f9
Cleanup JS a bit
2019-02-08 12:38:47 +01:00
Taiki Endo
6140134b6f
librustc_lint => 2018
2019-02-08 20:35:41 +09:00
Taiki Endo
c9bc85ecf1
Remove #[macro_use] extern crate bitflags
2019-02-08 20:13:12 +09:00
Taiki Endo
d2514523db
Use real try blocks
2019-02-08 20:08:08 +09:00
Taiki Endo
7815c9b1c8
Revert removed #![feature(nll)]
2019-02-08 19:56:52 +09:00
Ralf Jung
541503afa1
std::sys::unix::stdio: explain why we do into_raw
2019-02-08 11:41:31 +01:00
bors
652ae3fffd
Auto merge of #58213 - Mark-Simulacrum:fix-checktools, r=alexcrichton
...
Add embedded book to test such that checktools works
r? @alexcrichton
FWIW this doesn't attempt to make sure we don't break check tools again -- we intentionally make the bash script not exit when x.py fails so we'd need some special case handling so for now I'm just fixing the bug itself, not its cause.
2019-02-08 10:17:01 +00:00
hrls
5288f3f967
fix rustdoc JS
2019-02-08 12:47:20 +03:00
Esteban Küber
fb3c4fbfc3
Fix nll test output
2019-02-08 01:16:56 -08:00
Nick Fitzgerald
f00f0e6768
Don't shadow the provided stringify!
macro in a wasm code size test case
2019-02-08 10:09:36 +01:00
Nick Fitzgerald
8fea7054b9
Use write_char for writing padding characters
...
Removes some unsafe *and* saves almost half a kilobyte of code size.
2019-02-08 10:07:08 +01:00
Nick Fitzgerald
05df9ff415
Add a wasm code size test for stringifying numbers
2019-02-08 10:07:08 +01:00
Nick Fitzgerald
c104b5c897
Also de-duplicate 32- and 64-bit number formatting on wasm32
2019-02-08 10:07:08 +01:00
Pietro Albini
5ef71508fe
unused_imports: update tests
2019-02-08 08:44:56 +01:00
Taiki Endo
efa8fb006e
error_index_generator => 2018
2019-02-08 16:44:15 +09:00
John Kåre Alsaker
b4a6f59793
Allow a dirty MirBuilt for make_extern and make_method_extern
2019-02-08 07:25:32 +01:00
Taiki Endo
36806b542e
rustc-workspace-hack => 2018
2019-02-08 15:17:51 +09:00
Taiki Endo
aa775a5deb
rustc-std-workspace-core => 2018
2019-02-08 15:05:04 +09:00
bors
43e04fb552
Auto merge of #58191 - varkor:const-generics-ast, r=petrochenkov
...
Add const generics to the AST
This is mostly split out from https://github.com/rust-lang/rust/pull/53645 in an effort to make progress merging const generics piecewise instead of in one go.
cc @yodaldevoid, @petrochenkov
r? @eddyb
2019-02-08 05:50:16 +00:00
John Kåre Alsaker
a0f02cdba0
Update tests
2019-02-08 04:28:36 +01:00
John Kåre Alsaker
6ec66df773
Remove no_hash from optimized_mir
2019-02-08 04:28:35 +01:00
John Kåre Alsaker
33a9be0650
Move no_hash from mir_built to optimized_mir
2019-02-08 04:28:34 +01:00
John Kåre Alsaker
0847045350
Remove no_hash from typeck_tables_of
2019-02-08 04:28:34 +01:00
John Kåre Alsaker
8c59b6d130
Remove no_hash from optimized_mir
2019-02-08 04:28:33 +01:00
John Kåre Alsaker
34ec9a5942
Add a query type which is always marked as red if it runs
2019-02-08 04:28:32 +01:00
Esteban Küber
7eb6a2a972
Add test for type mismatch on first match arm
2019-02-07 16:12:12 -08:00
Alexander Regueiro
fd70e8e8db
WIP
2019-02-07 22:28:16 +01:00