Commit Graph

89912 Commits

Author SHA1 Message Date
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
Konrad Borowski
df420aa783 Remove initial newline from automatically generated span tests
This change was accidentally introduced while removing license headers.
2019-02-08 09:50:54 +01:00
Konrad Borowski
0d28a24c94 Remove code for updating copyright years in generate-deriving-span-tests
It's no longer necessary, as there is no license header anymore.
2019-02-08 09:50:54 +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
Alexander Regueiro
5c87bc85e2 Minor cosmetic changes. 2019-02-07 22:28:16 +01:00
Alexander Regueiro
497a772d04 Addressed review points. 2019-02-07 22:28:16 +01:00
Alexander Regueiro
14b674ab9d Factored out context-dependent help for error reporting. 2019-02-07 22:28:16 +01:00
Alexander Regueiro
0e2d96e88c Factored out error reporting from smart_resolve_path_fragment fn. 2019-02-07 22:28:16 +01:00
Taiki Endo
725af30809 librustc_mir => 2018 2019-02-08 06:28:15 +09:00
Patrick McCarter
da13fbda5e Add unstable feature attribute for unsigned const saturating add/sub intrinsics #58030 2019-02-07 13:46:20 -05:00
Mark Mansi
c25d6b8344 update test 2019-02-07 12:17:27 -06:00
Mark Mansi
802b256283 Make it an incompatibility lint for now 2019-02-07 12:17:27 -06:00
mark
3e790a7c30 add a test 2019-02-07 12:15:32 -06:00
mark
1d94cc2a22 fix existing tests 2019-02-07 12:15:31 -06:00
mark
1b41c9a42e error on duplicate matcher bindings 2019-02-07 12:15:31 -06:00
Patrick McCarter
17998961d4 Refactor const saturating intrinsics emulation and add unstable feature attribute #58030 2019-02-07 13:12:17 -05:00
varkor
05f0dee04a Improve the error messages for missing stability attributes
This makes the capitalisation consistent and provides more context (especially for missing top-level attributes).
2019-02-07 19:08:30 +01:00
Ralf Jung
81613ad7cf disable tests in Miri 2019-02-07 18:24:10 +01:00
Ralf Jung
66c894e07f also fix bad use of shared ref in split_at_mut 2019-02-07 17:55:42 +01:00
Pietro Albini
5681b91fa6
unused_imports: make the lint machine-applicable 2019-02-07 16:20:22 +01:00
varkor
f2fe71c02a Resolve incorrect diagnostic for using a non-const value in a constant 2019-02-07 16:03:12 +01:00
bors
d173180116 Auto merge of #58266 - GuillaumeGomez:rollup, r=GuillaumeGomez
Rollup of 11 pull requests

Successful merges:

 - #57504 (Re-enable history api on file:// protocol)
 - #57848 (Generate a documentation page for core::mem::transmute.)
 - #57884 (Update minifier version)
 - #57954 (rustdoc: remove blank unstable spans)
 - #58028 (Fix image link in the settings menu)
 - #58033 (rustdoc: wrap stability tags in colored spans)
 - #58086 ([rustdoc] Improve file list display)
 - #58143 (Sort elements in the sidebar)
 - #58146 (Prevent automatic collapse of methods impl blocks)
 - #58150 (Don't apply impl block collapse rules to trait impls)
 - #58185 (Remove images' url to make it work even without internet connection)

Failed merges:

r? @ghost
2019-02-07 14:47:57 +00:00
Esteban Küber
c54b230fa1 Add fixme 2019-02-07 06:20:23 -08:00
varkor
1b933a5ce9 Add a test forbidding the use of const parameters in inner items 2019-02-07 15:03:20 +01:00