about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2019-02-06Rollup merge of #58141 - lukaslueg:patch-1, r=steveklabnikkennytm-2/+1
Remove weasel word in docs for iter's take_while() The phrase "... or some similar thing." is very vague and contributes nothing to understanding the example. Simply removed.
2019-02-06Rollup merge of #58139 - ljedrz:HirIdification_phase_2.5, r=Zoxckennytm-0/+60
hir: add more HirId methods Adds a few more methods operating on `HirId` instead of `NodeId` with the intention of replacing the old ones in the near future. r? @Zoxc
2019-02-06Rollup merge of #58138 - ishitatsuyuki:stability-delay, r=estebankkennytm-1/+16
Fix #58101
2019-02-06Rollup merge of #58128 - taiki-e:libunwind-2018, r=Centrilkennytm-7/+8
libunwind => 2018 Transitions `libunwind` to Rust 2018; cc #58099 r? @Centril
2019-02-06Rollup merge of #58117 - h-michael:rustdoc-theme-2018, r=Centrilkennytm-0/+3
Transition rustdoc-theme to 2018 edition Transitions rustdoc-theme to Rust 2018; cc #58099
2019-02-06Rollup merge of #58116 - topecongiro:wrong-span-assignment, r=petrochenkovkennytm-0/+8
Include the span of attributes of the lhs to the span of the assignment expression This PR adds the span of attributes of the lhs to the span of the assignment expression. Currently with the following code, `#[attr]` is not included to the span of the assignment (`foo = true`). ```rust #[attr] foo = true; ``` The rational behind this change is that as libsyntax user I expect the span of the parent node includes every span of child nodes. cc https://github.com/rust-lang/rustfmt/issues/3313, https://github.com/rust-lang/rust/issues/15701.
2019-02-06Rollup merge of #58114 - h-michael:tidy-unstable-book-gen-2018, r=Centrilkennytm-2/+5
Transition tidy and unstable-book-gen to 2018 edition Transitions tidy and unstable-book-gen to Rust 2018; cc #58099
2019-02-06Rollup merge of #58113 - h-michael:build-manifest-2018, r=alexcrichtonkennytm-5/+7
Transition build-manifest to 2018 edition #58099
2019-02-06Rollup merge of #58112 - Centril:libpanic_abort-2018, r=oli-obkkennytm-2/+3
libpanic_abort => 2018 Transitions `libpanic_abort` to Rust 2018; cc #58099 r? @oli-obk
2019-02-06Rollup merge of #58109 - Centril:librustc_privacy-2018, r=oli-obkkennytm-8/+6
librustc_privacy => 2018 Transitions `librustc_privacy` to Rust 2018; cc #58099 r? @oli-obk
2019-02-06Rollup merge of #58108 - denzp:nvptx-manifest, r=alexcrichtonkennytm-0/+1
Add NVPTX target to a build manifest Include `nvptx64-nvidia-cuda` target to a build manifest. I forgot this step at my first take on adding the target (#57937). Hopefully, this is the only reason why `rustup target add nvptx64-nvidia-cuda` doesn't work :slightly_frowning_face: r? @alexcrichton
2019-02-06Rollup merge of #58107 - Centril:libgraphviz-2018, r=oli-obkkennytm-5/+7
libgraphviz => 2018 Transitions `libgraphviz` to Rust 2018; cc #58099 r? @oli-obk
2019-02-06Rollup merge of #58106 - Centril:libfmt_macros-2018, r=oli-obkkennytm-6/+8
libfmt_macros => 2018 Transitions `libfmt_macros` to Rust 2018; cc https://github.com/rust-lang/rust/issues/58099 r? @oli-obk
2019-02-06Rollup merge of #58097 - h-michael:remote-test-2018, r=alexcrichtonkennytm-0/+2
Transition remote test to Rust 2018 Only updating Cargo.toml
2019-02-06Rollup merge of #58096 - h-michael:linkchecker-2018, r=Centrilkennytm-1/+4
Transition linkchecker to 2018 edition Transition `src/tools/linkchecker` to Rust 2018. #58099
2019-02-06Rollup merge of #58001 - ↵kennytm-1/+7
pnkfelix:issue-57735-proc-macro-with-large-tokenstream-slow, r=eddyb proc_macro: make `TokenStream::from_streams` pre-allocate its vector. This requires a pre-pass over the input streams. But that is cheap compared to the quadratic blowup associated with reallocating the accumulating vector on-the-fly. Fix #57735
2019-02-05Add Rustlings to the doc indexliv-0/+6
2019-02-05Transition rustdoc to 2018 editionHirokazu Hata-2/+3
2019-02-05Add more testsOliver Scherer-0/+92
2019-02-05Expose correct items in `os::fortanix_sgx::usercalls::alloc`Jethro Beekman-1/+1
2019-02-05SGX target: handle empty user buffers correctlyJethro Beekman-2/+8
2019-02-05Fix span for closure return type when annotated.David Wood-2/+39
This commit adjusts the span used to label closure return types so that if the user specifies the return type, i.e. `|_| -> X {}` instead of `|_| {}`, we correctly highlight all of it and not just the last character.
2019-02-05review suggestionsMatthias Einwag-2/+9
2019-02-05Apply more review suggestionsMatthias Einwag-3/+11
2019-02-05add even more debugging code to track down appveyor 259 exit codePietro Albini-0/+6
2019-02-05Auto merge of #57973 - davidtwco:issue-52891, r=estebankbors-111/+570
Add suggestion for duplicated import. Fixes #52891. This PR adds a suggestion when a import is duplicated (ie. the same name is used twice trying to import the same thing) to remove the second import.
2019-02-05Various improvements in `Folder` impls.Nicholas Nethercote-46/+18
2019-02-05Streamline `Folder` some more.Nicholas Nethercote-43/+39
By eliminating some unnecessary methods, and moving/renaming some functions that look like they might be methods but aren't.
2019-02-05Neaten up `fold_crate`.Nicholas Nethercote-24/+15
2019-02-05Change `fold_qpath` to `fold_qself`.Nicholas Nethercote-14/+8
It's simpler that way.
2019-02-05Simplify `fold_attribute`.Nicholas Nethercote-15/+9
It doesn't need to return an `Option`.
2019-02-05Fold some overlooked spans.Nicholas Nethercote-11/+16
2019-02-05Streamline `Folder`.Nicholas Nethercote-77/+20
Specifically: - Remove dead methods: fold_usize, fold_meta_items, fold_opt_bounds. - Remove useless methods: fold_global_asm, fold_range_end. - Inline and remove unnecessary methods: fold_item_simple, fold_foreign_item_simple.
2019-02-05Remove some unnecessary `ast::` and `fold::` qualifiers.Nicholas Nethercote-46/+37
2019-02-05Remove unncessary return statementHirokazu Hata-1/+1
2019-02-05Use derive feature of serdeHirokazu Hata-2/+2
2019-02-05Remove macro_useHirokazu Hata-2/+1
2019-02-05Transition build-manifest to 2018 editionHirokazu Hata-1/+4
2019-02-04update split docsgaryemerson-14/+14
Some confusion about split popped up at https://news.ycombinator.com/item?id=19080931 since the docs sorta sound like `&str`, `char` and closures are the only types that can be patterns. cc @steveklabnik
2019-02-04add more debugging code to track down appveyor 259 exit codePietro Albini-1/+1
2019-02-05update rust-installer from 27dec6c to ccdc47bHirokazu Hata-0/+0
2019-02-04Prevent automatic collapse of methods impl blocksGuillaume Gomez-2/+20
2019-02-04hir: more HirId methodsljedrz-0/+60
2019-02-04Add #[must_use] to core::task::PollTaiki Endo-0/+1
2019-02-04libsyntax_ext => 2018Taiki Endo-268/+269
2019-02-04sort elements in the sidebarGuillaume Gomez-72/+84
2019-02-04Update embedded book dependencyJames Munns-0/+0
2019-02-04Remove stray FIXMEJethro Beekman-3/+0
2019-02-04Add testishitatsuyuki-0/+13
2019-02-04Remove weasel word in docs for iter's take_while()lukaslueg-2/+1
The phrase "... or some similar thing." is very vague and contributes nothing to understanding the example. Simply removed.