about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2018-08-07Document panic in mpsc::Receiver::recv_timeoutFelix Rabe-1/+23
2018-08-01Document #39364 (WIP)Felix Rabe-0/+6
2018-07-31Auto merge of #52234 - petrochenkov:macuse2, r=Mark-Simulacrumbors-32/+415
resolve: Modularize crate-local `#[macro_export] macro_rules` Based on https://github.com/rust-lang/rust/pull/50911, cc https://github.com/rust-lang/rust/pull/50911#issuecomment-401151270 `#[macro_export] macro_rules` items are collected from the whole crate and are planted into the root module as items, so the external view of the crate is symmetric with its internal view and something like `$crate::my_macro` where `my_macro` is `#[macro_export] macro_rules` works both locally and from other crates. Closes https://github.com/rust-lang/rust/issues/52726
2018-07-31Auto merge of #52461 - irinagpopa:safe-llvm, r=nikomatsakisbors-4321/+3982
rustc_codegen_llvm: use safe references for LLVM FFI types. Part of #45274.
2018-07-31rustc_llvm: fix linking on mingw.Irina Popa-0/+3
2018-07-31Auto merge of #50267 - humanenginuity:master, r=alexcrichtonbors-3/+226
Implement inner deref for Option and Result tracking issue: #50264
2018-07-31Auto merge of #52850 - SimonSapin:unstablize, r=alexcrichtonbors-4/+12
Revert "Stabilize to_bytes and from_bytes for integers." This reverts commit c8f9b84b393915a48253e3edc862c15a9b7152a7 / PR https://github.com/rust-lang/rust/pull/51835, and reopens the tracking issue https://github.com/rust-lang/rust/issues/49792. These methods were stabilized in Rust 1.29, which is still in Nightly as of this writing. So my understanding is that it is still time to change our minds. Given the ongoing discussion in https://github.com/rust-lang/rust/pull/51919 about possibly renaming these APIs and since 1.29 goes to beta soon, I’d like to revert this stabilization for now until a decision is made in that PR. It’s possible that a decision will be made in time for 1.29, but there is no urgency. At most I expect this functionality to make it into 1.30.
2018-07-31Auto merge of #52630 - Mark-Simulacrum:rustdoc-cleanup-2, r=QuietMisdreavusbors-121/+96
Delete unused code in rustdoc Also hid the unused crate exports of rustdoc. This is technically a breaking change but we don't even ship librustdoc in the sysroot so I don't expect breakage.
2018-07-31Auto merge of #52863 - steveklabnik:update-books, r=Mark-Simulacrumbors-0/+0
update books for new release r? @Mark-Simulacrum
2018-07-31region_infer: rustfmt, pacifying the mercilous tidyNiko Matsakis-24/+48
2018-07-31assert no region obligations on entering custom type opNiko Matsakis-0/+13
Fixes #51649
2018-07-31free RegionBoundPairs earlier and avoid normalizing twiceNiko Matsakis-24/+41
Normalization results are memoized, so this may not be worth it, but it seems easy enough to do.
2018-07-31remove `region_bound_pairs` from FRR as they are not needed laterNiko Matsakis-25/+26
2018-07-31make a free fn for creating the URRNiko Matsakis-43/+42
2018-07-31add regression test for #52057Niko Matsakis-0/+35
Fixes #52057
2018-07-31remove universal-region-relation computation from universal_regionsNiko Matsakis-300/+206
2018-07-31introduce, but do not use, `free_region_relation` computationNiko Matsakis-4/+243
This duplicates, effectively, existing code in the universal regions computation.
2018-07-30Delete unused code in rustdocMark Rousskov-121/+96
2018-07-30rustc_codegen_llvm: fix ownership of DIBuilder.Irina Popa-34/+45
2018-07-30rustc_codegen_llvm: fix ownership of Builder.Irina Popa-96/+105
2018-07-30rustc_codegen_llvm: fix tidy errors.Irina Popa-24/+77
2018-07-30rustc_codegen_llvm: use safe references for ThinLTOData.Irina Popa-13/+12
2018-07-30rustc_codegen_llvm: use safe references for ThinLTOBuffer.Irina Popa-6/+6
2018-07-30rustc_codegen_llvm: use safe references for ModuleBuffer.Irina Popa-6/+6
2018-07-30rustc_codegen_llvm: use safe references for RustArchiveMember.Irina Popa-16/+16
2018-07-30rustc_codegen_llvm: use safe references for ArchiveChild.Irina Popa-38/+56
2018-07-30rustc_codegen_llvm: use safe references for ArchiveIterator.Irina Popa-9/+6
2018-07-30rustc_codegen_llvm: use safe references for Linker.Irina Popa-10/+9
2018-07-30rustc_codegen_llvm: use safe references for SectionIterator.Irina Popa-14/+13
2018-07-30rustc_codegen_llvm: use safe references for PassManager.Irina Popa-64/+65
2018-07-30rustc_codegen_llvm: use safe references for OperandBundleDef.Irina Popa-25/+26
2018-07-30rustc_codegen_llvm: use safe mutable references for output parameters.Irina Popa-12/+12
2018-07-30rustc_codegen_llvm: use safe references for RustString.Irina Popa-30/+33
2018-07-30rustc_codegen_llvm: use safe references for Twine, DiagnosticInfo, SMDiagnostic.Irina Popa-29/+24
2018-07-30rustc_codegen_llvm: use safe references for Archive.Irina Popa-17/+11
2018-07-30rustc_codegen_llvm: use safe references for TargetMachine.Irina Popa-13/+12
2018-07-30rustc_codegen_llvm: use safe references for Pass.Irina Popa-12/+9
2018-07-30rustc_codegen_llvm: use safe references for PassManagerBuilder.Irina Popa-15/+14
2018-07-30rustc_codegen_llvm: use safe references for MemoryBuffer and ObjectFile.Irina Popa-21/+16
2018-07-30rustc_codegen_llvm: remove more unused functions.Irina Popa-401/+21
2018-07-30rustc_codegen_llvm: remove unused UseRef type.Irina Popa-7/+0
2018-07-30rustc_codegen_llvm: use safe references for BasicBlock.Irina Popa-55/+54
2018-07-30rustc_codegen_llvm: use safe references for Value.Irina Popa-1232/+1216
2018-07-30rustc_codegen_llvm: remove _opaque suffix.Irina Popa-49/+49
2018-07-30rustc_codegen_llvm: remove #![allow(dead_code)] from llvm.Irina Popa-37/+2
2018-07-30rustc_codegen_llvm: remove unused ExecutionEngineRef type.Irina Popa-2/+0
2018-07-30rustc_codegen_llvm: use safe references for Metadata and DI*.Irina Popa-377/+411
2018-07-30rustc_codegen_llvm: use safe references for DIBuilder.Irina Popa-34/+33
2018-07-30rustc_codegen_llvm: use safe references for Builder.Irina Popa-144/+142
2018-07-30rustc_codegen_llvm: use safe references for Type.Irina Popa-533/+568