about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2019-04-10Documentation should have proper grammarOliver Scherer-3/+6
2019-04-10Update ui testLzu Tao-1/+1
2019-04-09std::ops::Div examples: correct nominator to numeratorAnders Kaseorg-14/+14
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-04-10Apply suggestions from code review Mazdak Farrokhzad-2/+2
Use dbg! recursively on each item Co-Authored-By: llogiq <bogusandre@gmail.com>
2019-04-10allow multiple args to `dbg!(..)`Andre Bogus-0/+10
2019-04-10Re-export NonZero signed variant in stdLzu Tao-0/+2
2019-04-10Remove useless ?Sized boundJohn Kåre Alsaker-2/+2
2019-04-10Eliminate `FnBox` usages from libstd.CrLF0710-24/+15
2019-04-09Remove strange formatting in `Ordering` docs.Eric Huss-3/+3
2019-04-09Fix links on keyword docs.Eric Huss-30/+25
- Make links relative. - Adjust links from old 2018-edition book. - Fix broken link in `let` docs.
2019-04-09Do not render ascii colors to buffersOliver Scherer-3/+3
2019-04-09improve unknown enum variant errorsAndy Russell-99/+216
2019-04-09proc_macro: stop using LEB128 for RPC.Eduard-Mihai Burtescu-23/+13
2019-04-09Fix a typoJohn Kåre Alsaker-1/+1
2019-04-09Exclude profiler-generated symbols from MSVC __imp_-symbol workaround.Michael Woerister-1/+29
2019-04-09create add_type_neq_err_labelrchaser53-10/+14
2019-04-09Kill dead code dominator code.Edd Barrett-47/+0
2019-04-09submodules: update rls from 90f7ab0 to 49efc06Matthias Krüger-0/+0
Changes: ```` Account for changed format range in a test Adapt format integration test to use new range Add unit tests for Rustfmt::calc_text_edits Prefer saturating_sub Return only partial text edits on formatting request Redo errors in format.rs Rephrase unstable features helper function Work around Rustfmt bug Adjust range-formatting test Update Rustfmt to 1.2 Allow unstable features under "dev" channel Updated clippy_lints in to rev c81e43b92c83bca75337ac26a296b909a6a98ab1 to fix build breaking Fix lint pass API changes Remove a redundant import Bump Clippy Add more helpful compiler messages when the features are improperly specified Silence some flaky tests. Update Cargo. Rename read_analysis to decode_buf Update Clippy Fix pointer to pointer silliness Add serde implementation to complement rustc-serialize ````
2019-04-09submodules: update miri from 0e4f963 to 28f2e5bMatthias Krüger-14/+14
Changes: ```` Update src/fn_call.rs Fix calloc test Add calloc test Tidy up calloc code Update compiletest Fix tagging order Add `calloc` rename MIRI_TARGET -> MIRI_COMPILETEST_TARGET to clarify that this affects compiletest only compiletest can just propagate MIRI_SYSROOT from the outside ````
2019-04-09submodules: update clippy from 92612c9d to 37f5c1ecMatthias Krüger-10/+8
Changes: ```` Remove force-host and explain no-prefer-dynamic Escape a single quote in single_char_pattern hint cargo fmt Re-add tmp feature to compiletest Remove libtest from deps Re-allow clippy::identity_conversion in compiletest Use latest compiletest-rs Revert tests/compile-test.rs to 61aa5c957c219abe1fb2d1b5e51db8b365b4f565 Fix ICE in suspicious_else_formatting use a multispan for MANY_SINGLE_CHAR_NAMES Add missing `// run-pass` annotations to ICE tests Remove clippy_dev as dev-dependency NFC: fix typos rustup https://github.com/rust-lang/rust/pull/59657 Add TransmutingNull Lint * Late Lint pass, catches: * One liner: 0 -> null -> transmute * One liner: std:null() -> transmute * Const (which resolves to null) -> transmute * UI Test case for Lint * Updated test for issue 3849, because now the lint that code generated is in Clippy. * Expanded `const.rs` miri-based Constant Folding code, to cover raw pointers Run rustfmt Set level of identity_conversion FP to warn Rustup to https://github.com/rust-lang/rust/pull/58805 rustup 41316f0449025394fdca6606d3fdb3b8f37a9872 Updated source to match with recent rustc `master` toolchain changes Fix dogfood error of question_mark lint fix Fix question_mark lint+test use `span_lint_and_sugg` in `explicit_counter_loop` Fix some test failures Hacky rustup run cargo fmt rustup https://github.com/rust-lang/rust/pull/59096/ Change explicit_counter_loop's message to add parentheses if necessary Change explicit_counter_loop's message to reflect original variable name cargo fmt Add rustfix tests for mistyped_literal_suffix lint Move some `unreadable_literal` ui tests to correct file Add implementation for the EarlyLintPass trait into the Adding Lints documentation. Add rust-toolchain for clippy_dev ````
2019-04-09Make trait_methods_not_found use a lockJohn Kåre Alsaker-2/+2
2019-04-09Clean up jobserver integrationJohn Kåre Alsaker-122/+8
2019-04-08Rename Waker::new_unchecked to Waker::from_rawTaylor Cramer-5/+5
2019-04-08Add Waker::wake_by_ref and make Waker::wake consume the WakerTaylor Cramer-19/+73
2019-04-08compiletest: Improve no_prefer_dynamic docsPhilipp Hansch-1/+5
This adds some extra docs for the `no-prefer-dynamic` header. And also a `s/must_compile_successfully/compile_pass`. `must_compile_successfully` has been renamed to `compile_pass` at some point in the past and this comment was still referring to the old name.
2019-04-08Update test cases for changes to error messagesIsaac Whitfield-12/+3
2019-04-08Add must_use annotations to Result::is_ok and is_errAlex Gaynor-8/+12
2019-04-08Elaborate on implicit promotabilityOliver Scherer-1/+4
2019-04-08Pacify tidyOliver Scherer-2/+5
2019-04-08Get rid of "is not const" namingOliver Scherer-16/+16
2019-04-08Explicit promotion is indistinguishable from explicit promotionOliver Scherer-10/+8
Implicit promotion on the other hand has very strict rules on what may be done
2019-04-08Generalize initial "not const" assignmentsOliver Scherer-23/+23
2019-04-08Merge remote-tracking branch 'origin/master'rchaser53-48/+5685
2019-04-08avoid reading from ZST localsRalf Jung-56/+29
2019-04-08`asm!` output can neither be promotable nor constOliver Scherer-1/+0
2019-04-08Apply suggestions from code review Ralf Jung-2/+2
typos Co-Authored-By: RalfJung <post@ralfj.de>
2019-04-08Auto merge of #59724 - oli-obk:const_arg_ice, r=eddybbors-4/+65
Function arguments should never get promoted fixes https://github.com/rust-lang/rust/issues/59469
2019-04-08Add test demonstrating existing behaviour.David Wood-0/+27
This commit adds a test that demonstrates the compiler's current behaviour when a function attempts to return a value that was unwrapped by a `?` operator when the omission of `?` would have made the code compile.
2019-04-07Only run SIMD tests on x86Oliver Scherer-3/+9
2019-04-07Auto merge of #59765 - lzutao:patch-1, r=Centrilbors-1/+3
Add reference to cfg attr r? @QuietMisdreavus
2019-04-07implement by-value object safetyRalf Jung-13/+36
2019-04-07initialize unsized locals when copying to the for the first timeRalf Jung-33/+57
2019-04-07Change root path for unstable-bookBastian Gruber-9/+9
2019-04-07Add test with current behaviour.David Wood-0/+46
This commit adds a test demonstrating the current behaviour when a macro defined in a module with the `#[macro_export]` is imported from the module rather than the crate root.
2019-04-07Auto merge of #59766 - xales:revertlibtest, r=Manishearthbors-40/+5602
Revert "Auto merge of #57842 - gnzlbg:extract_libtest, r=gnzlbg" This reverts commit 3eb4890dfe6db0279fdd3cda19f9643873ae3db9, reversing changes made to 7a4df3b53da369110984a2b57419c05a53e33b38. This is, as best I can tell, a clean revert of #57842. It retains some interim changes, like moving `black_box`, and otherwise brings libtest back in as it was before removal.
2019-04-07Improvement for comparision against fnrchaser53-3/+48
2019-04-07Auto merge of #59770 - pietroalbini:pin-android-emulator, r=kennytmbors-3/+15
ci: pin android emulator to 28.0.23 Apparently Android Emulator 28.0.25 (the latest one) is broken for us, and `sdkmanager` doesn't have a way to pin a package to a specific version. This PR stops downloading the emulator from `sdkmanager`, downloading it manually instead. Tested this locally and confirmed it works. I'll open an issue on Google's issue tracker later today. Fixes https://github.com/rust-lang/rust/issues/59757 r? @kennytm
2019-04-07ci: pin android emulator to 28.0.23Pietro Albini-3/+15
2019-04-07fix miri engine debug output for uninitialized localsRalf Jung-11/+6
2019-04-07make StorageLive lazy as wellRalf Jung-37/+22