about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2019-03-31libstd: deny(elided_lifetimes_in_paths), fixes in redoxMazdak Farrokhzad-1/+1
2019-03-31Remove redundant importFabian Drinck-1/+0
2019-03-31libstd: deny(elided_lifetimes_in_paths), fixes in sgxMazdak Farrokhzad-19/+20
2019-03-31libstd: deny(elided_lifetimes_in_paths), fixes in wasiMazdak Farrokhzad-25/+25
2019-03-31libstd: deny(elided_lifetimes_in_paths), fixes in cloudabiMazdak Farrokhzad-3/+4
2019-03-31libstd: deny(elided_lifetimes_in_paths)Mazdak Farrokhzad-367/+372
2019-03-31Add back missing importFabian Drinck-1/+1
2019-03-31Stabilize refcell_replace_swap feature, closes #43570Jean-Marie Comets-5/+3
2019-03-31Auto merge of #59566 - cuviper:llvm-rebuild-sha, r=Mark-Simulacrumbors-43/+34
Use the existing LLVM GitInfo for checking rebuilds Fixes #59565
2019-03-31Convert symbols to strings for pretty printingJohn Kåre Alsaker-17/+14
2019-03-31Fix lifetime on LocalInternedString::get functionJohn Kåre Alsaker-11/+20
2019-03-31Only mention const generics if enabled.David Wood-34/+83
This commit updates the generic parameter re-ordering diagnostic to only mention const generics if the feature is enabled.
2019-03-31Include bounds in generic reordering diagnostic.David Wood-12/+65
This commit extends the existing generic re-ordering diagnostic to include any bounds on the generic parameter, thus producing correct suggestions.
2019-03-31Distinguish depending on error levelYuki OKUSHI-5/+16
Remove unnecessary comment
2019-03-30Rollup merge of #59569 - gruberb:add-title-for-unstable-book, r=frewsxcvMazdak Farrokhzad-0/+2
Add book.toml with title to unstable-book doc Adding a title to the unstable book based on https://github.com/rust-lang/rust/issues/59554
2019-03-30Rollup merge of #59562 - DevQps:dbg-macro-docs, r=CentrilMazdak Farrokhzad-3/+3
Changed reference style in dbg macro docs. # Description A continuation of Pull Request #59528 : - Fixed method of referencing and adjusted the references as suggested by @lzutao
2019-03-30Rollup merge of #59405 - benesch:docs-font, r=GuillaumeGomezMazdak Farrokhzad-3/+3
doc: use correct body font URLs The CSS for the docs homepage (docs.rust-lang.org) was using the wrong URL for the body font, resulting in the fallback serif font being used, instead of the desired Source Serif Pro fonts. (It's worth noting that the CSS for rustdoc's API generation got these URLs right.)
2019-03-31Fix testYuki OKUSHI-1/+1
2019-03-30Restore testFabian Drinck-0/+3
2019-03-30Handle glob import in redundancy checkFabian Drinck-10/+4
2019-03-30Change message to present tenseFabian Drinck-5/+5
2019-03-30Fix doc testsFabian Drinck-2/+1
2019-03-30Fix more testsFabian Drinck-10/+0
2019-03-30Add glob import to redundancy testFabian Drinck-6/+36
2019-03-30Fix testsFabian Drinck-5/+13
2019-03-30Replace REDUNDANT_IMPORT with UNUSED_IMPORTSFabian Drinck-72/+17
2019-03-30Edit ui testsFabian Drinck-0/+2
2019-03-30Remove redundant importFabian Drinck-4/+1
2019-03-30Distinguish between imported and defined itemsFabian Drinck-5/+7
2019-03-30Bless testsFabian Drinck-0/+69
2019-03-30Improve warningFabian Drinck-17/+18
2019-03-30Edit commentsFabian Drinck-1/+3
2019-03-30Remove redundant importsFabian Drinck-15/+2
2019-03-30Add lint for redundant importsFabian Drinck-1/+129
Co-authored-by: Stephan Schauerte <stephan.schauerte@gmail.com>
2019-03-30Add book.toml with title to unstable-book docBastian Gruber-0/+2
2019-03-30Don't ignore git for LLVM infoJosh Stone-19/+22
2019-03-30Use a single llvm_info variableJosh Stone-13/+8
2019-03-30Update testsJohn Kåre Alsaker-295/+295
2019-03-30Allow unused query argumentsJohn Kåre Alsaker-0/+2
2019-03-30Move query definitions over to the proc macroJohn Kåre Alsaker-2021/+957
2019-03-30Add cycle_delay_bug to proc macroJohn Kåre Alsaker-0/+20
2019-03-30Auto merge of #59516 - ehuss:update-cargo, r=alexcrichtonbors-0/+0
Update cargo Update cargo 22 commits in 0e35bd8af0ec72d3225c4819b330b94628f0e9d0..63231f438a2b5b84ccf319a5de22343ee0316323 2019-03-13 06:52:51 +0000 to 2019-03-27 12:26:45 +0000 - Code cleanup (rust-lang/cargo#6787) - Add cargo:rustc-link-arg to pass custom linker arguments (rust-lang/cargo#6298) - Testsuite: remove some unnecessary is_nightly checks. (rust-lang/cargo#6786) - cargo metadata: Don't show `null` deps. (rust-lang/cargo#6534) - Some fingerprint cleanup. (rust-lang/cargo#6785) - Fix fingerprint for canceled build script. (rust-lang/cargo#6782) - Canonicalize default target if it ends with `.json` (rust-lang/cargo#6778) - Fix setting `panic=unwind` compiling lib a extra time. (rust-lang/cargo#6781) - Always nicely show errors from crates.io if possible (rust-lang/cargo#6771) - Testsuite: Make `cwd()` relative to project root. (rust-lang/cargo#6768) - Allow `cargo fix` if gitignore matches root working dir. (rust-lang/cargo#6767) - Remove redundant imports (rust-lang/cargo#6763) - Handle backcompat hazard with `toml` crate (rust-lang/cargo#6761) - Fix spurious error in dirty_both_lib_and_test. (rust-lang/cargo#6756) - Update toml requirement from 0.4.2 to 0.5.0 (rust-lang/cargo#6760) - Reuse std::env::consts::EXE_SUFFIX (rust-lang/cargo#6758) - Proptest 0.9.1 (rust-lang/cargo#6753) - Don't need extern crate in 2018 (rust-lang/cargo#6752) - Release a jobserver token while locking a file (rust-lang/cargo#6748) - Minor doc fix for publish command synopsis (rust-lang/cargo#6749) - Stricter package change detection. (rust-lang/cargo#6740) - Fix resolving yanked crates when using a local registry. (rust-lang/cargo#6742)
2019-03-30Use the existing LLVM GitInfo for checking rebuildsJosh Stone-18/+11
2019-03-30Update cargoEric Huss-0/+0
2019-03-30Added a missing !.Christian-1/+1
2019-03-30Added an example that shows how the remainder function on floating point ↵Christian-3/+3
values is computed internally.
2019-03-30Rollup merge of #59544 - cuviper:miri-nightly, r=CentrilMazdak Farrokhzad-1/+7
manifest: only include miri on the nightly channel miri needs to build std with xargo, which doesn't allow stable/beta: <https://github.com/japaric/xargo/pull/204#issuecomment-374888868> Therefore, at this time there's no point in making miri available on any but the nightly channel. If we get a stable way to build `std`, like [RFC 2663], then we can re-evaluate whether to start including miri, perhaps still as `miri-preview`. [RFC 2663]: https://github.com/rust-lang/rfcs/pull/2663
2019-03-30Rollup merge of #59539 - GuillaumeGomez:rustdoc-infinite-recursion, r=eddybMazdak Farrokhzad-5/+9
Fix infinite recursion Temporary fix for #59502. r? @eddyb
2019-03-30Rollup merge of #59463 - ↵Mazdak Farrokhzad-11/+490
pnkfelix:issue-56327-skip-dyn-keyword-lint-under-macros, r=matthewjasper skip dyn keyword lint under macros This PR is following my own intuition that `rustfix` should never inject bugs into working code (even if that comes at the expense of it failing to fix things that will become bugs). Fix #56327
2019-03-30Rollup merge of #59380 - philipc:thinlto-variant, r=michaelwoeristerMazdak Farrokhzad-1/+65
Fix invalid DWARF for enums when using ThinLTO We were setting the same identifier for both the DW_TAG_structure_type and the DW_TAG_variant_part. This becomes a problem when using ThinLTO becauses it uses the identifier as a key for a map of types that is used to delete duplicates based on the ODR, so one of them is deleted as a duplicate, resulting in invalid DWARF. The DW_TAG_variant_part isn't a standalone type, so it doesn't need an identifier. Fix by omitting its identifier. ODR uniquing is [enabled here](https://github.com/rust-lang/rust/blob/f21dee2c6179276321a88a63300dce74ff707e92/src/rustllvm/PassWrapper.cpp#L1101).