Commit Graph

91351 Commits

Author SHA1 Message Date
gnzlbg
25c8f61a9f Move black_box back to rust-lang/libtest and use explicit imports 2019-03-19 13:58:48 +01:00
gnzlbg
008ce99028 Add a README to libtest with a roadmap 2019-03-19 13:58:48 +01:00
gnzlbg
4c38f1928e Allow the staged_api 2019-03-19 13:58:47 +01:00
gnzlbg
6dbb5f7104 Update Cargo.lock 2019-03-19 13:58:47 +01:00
gnzlbg
f2915a6f62 Use feature(test) 2019-03-19 13:58:47 +01:00
gnzlbg
3a9e30f6c9 Use libtest from crates.io 2019-03-19 13:58:47 +01:00
gnzlbg
2957c4c42e Re-export libtest 2019-03-19 13:58:47 +01:00
gnzlbg
95f79380ca Move libtest out of rust-lang/rust 2019-03-19 13:58:47 +01:00
Simon Sapin
7fad370fe9 ASCII uppercase: add "subtract multiplied bool" benchmark 2019-03-19 13:41:59 +01:00
Oliver Scherer
ab41023fd4 Run branch cleanup after copy prop 2019-03-19 12:38:18 +01:00
Saleem Jaffer
776407e4e6 tidy checks 2019-03-19 13:35:50 +05:30
Konrad Borowski
8f261a6abe Update since annotation for ExactSizeIterator for ToUppercase/Lowercase
This functionality was added in 1.35.0, not 1.34.0.
2019-03-19 08:50:02 +01:00
Simon Sapin
c1ec29ace0 ASCII uppercase: add "subtract shifted bool" benchmark 2019-03-19 08:32:15 +01:00
Mazdak Farrokhzad
37789c4a1d
Update src/librustc/hir/mod.rs
Co-Authored-By: llogiq <bogusandre@gmail.com>
2019-03-19 06:10:59 +01:00
bors
ef4d1c4195 Auto merge of #59279 - mati865:clippy, r=Xanewok
Update clippy

Fixes https://github.com/rust-lang/rust/issues/59218

cc @Xanewok
2019-03-19 00:48:06 +00:00
Simon Sapin
0ad91f73d9 Simplify u8::to_ascii_{upp,low}ercase while keeping it fast 2019-03-19 00:50:26 +01:00
Simon Sapin
4a3241a815 Benchmark more possibles impls of [u8]::make_ascii_uppercase 2019-03-19 00:49:06 +01:00
Josh Stone
0dabf8c835 Rebase LLVM to 8.0.0 final 2019-03-18 15:59:24 -07:00
Simon Sapin
b4faa9b456 Remove ASCII_CHARACTER_CLASS table, use match with range patterns instead. 2019-03-18 23:57:09 +01:00
Simon Sapin
6d3840b23a Add benchmarks for u8::is_ascii* 2019-03-18 23:56:50 +01:00
Simon Sapin
525a043c6b Rename src/libcore/benches/ascii_case.rs to ascii.rs 2019-03-18 23:32:36 +01:00
Joshua Liebow-Feeser
de4be2cd85 Stabilize refcell_map_split feature
- Closes #51476
2019-03-18 15:06:34 -07:00
bors
3bf064beaa Auto merge of #56462 - Zoxc:query-macro, r=oli-obk
Define queries using a proc macro

cc @rust-lang/compiler
2019-03-18 21:24:12 +00:00
Simon Sapin
e3fb6f89fe Tidy 2019-03-18 21:28:33 +01:00
varkor
9bc58118fc Rebase over LazyConst changes 2019-03-18 19:46:59 +00:00
varkor
f93ad414ab Rename first_ty_sty to ty_sty 2019-03-18 19:44:52 +00:00
varkor
b39e664ee8 Make clean::Constant display respect f.alternate() 2019-03-18 19:44:52 +00:00
varkor
9925d9b3b6 Fix indentation issue 2019-03-18 19:44:52 +00:00
varkor
38d98a1b22 Implement const generics in generics_to_path_params
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-18 19:44:51 +00:00
varkor
cd9a2c0b54 Refactor GenericArgs to include const generics
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-18 19:44:51 +00:00
Simon Sapin
fbe34cc521 Add benchmark for not-quite-correct “fake SIMD” make_ascii_uppercase 2019-03-18 20:40:32 +01:00
varkor
29ed491743 Add GenericArg
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-18 19:38:23 +00:00
varkor
14913159e0 Implement Clean for const generics
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-18 19:38:23 +00:00
varkor
c915fe0245 Rename external_typarams to external_param_names
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-18 19:38:23 +00:00
varkor
ec6f983e24 Rename typarams to param_names
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-18 19:38:23 +00:00
Simon Sapin
ce933f77c8 Make u8::to_ascii_lowercase and to_ascii_uppercase branchless 2019-03-18 20:16:37 +01:00
Simon Sapin
8740d5d171 Add benchmarks for [u8]::make_ascii_uppercase 2019-03-18 20:08:32 +01:00
Mateusz Mikuła
986f88b86e Update Clippy, RLS and Rustfmt 2019-03-18 18:34:18 +01:00
Aleksey Kladov
9d408d972f Add todo!() macro
The use-case of `todo!()` macro is to be a much easier to type
alternative to `unimplemented!()` macro.
2019-03-18 19:27:31 +03:00
Andy Russell
a9108ebb76
filter suggestions from extern prelude 2019-03-18 11:13:15 -04:00
John Kåre Alsaker
198dfceb80 Preprocess query modifiers 2019-03-18 14:19:52 +01:00
Vincent Esche
698bbe5253 Replaced self-reflective explicit types with clearer Self or Self::… in stdlib docs 2019-03-18 13:57:51 +01:00
bors
0f88167f89 Auto merge of #58847 - bjorn3:remove_metadata_only_cg, r=alexcrichton
Remove metadata only codegen backend

It is unused and probably broken at the moment.
2019-03-18 11:28:12 +00:00
Saleem Jaffer
23c87a1f53 fixed all compilation errors 2019-03-18 15:03:30 +05:30
Saleem Jaffer
a837b8a368 cleaner code as per review 2019-03-18 15:03:30 +05:30
Saleem Jaffer
7fb1c22da1 promoted is still left in 2 places 2019-03-18 15:03:29 +05:30
bors
cd45b19bd2 Auto merge of #58872 - rep-nop:diagnostic-fix-56031, r=petrochenkov
Adds help message in error for invalid `impl for T` syntax

Fixes #56031.
2019-03-18 08:03:05 +00:00
Andre Bogus
bb832c2560 some small HIR doc improvements 2019-03-18 09:02:57 +01:00
John Kåre Alsaker
4f49fff019 Clean up parsing code and split out codegen for the QueryDescription impl 2019-03-18 08:20:10 +01:00
John Kåre Alsaker
9e9d03fd66 Add load_cached query modifier and keep dep node names consistent with query names 2019-03-18 08:20:09 +01:00