Permalink
Commits on Nov 21, 2018
  1. Auto merge of #56118 - steveklabnik:update-books, r=alexcrichton

    bors committed Nov 21, 2018
    Update books for Rust 2018
    
    This PR:
    
    1. updates all of the books
        * I don't know if @Gankro has further plans for the nomicon or not
    2. updates the build process because TRPL is only distributing one edition now
    3. fixes up the stdlib links
    
    I think that this passes but it's 3:20 am and so I'm sending it in and will fix up anything i missed in the morning.
    
    /cc @alexcrichton for the big beta backport
  2. Auto merge of #56117 - petrochenkov:iempty, r=eddyb

    bors committed Nov 21, 2018
    resolve: Make "empty import canaries" invisible from other crates
    
    Empty imports `use prefix::{};` are desugared into `use prefix::{self as _};` to make sure the prefix is checked for privacy/stability/etc.
    This caused issues in cross-crate scenarios because gensyms are lost in crate metadata (the `_` is a gensym).
    
    Fixes #55811
  3. update various stdlib docs

    steveklabnik committed Nov 21, 2018
  4. Auto merge of #52591 - eddyb:functional-snakes, r=oli-obk

    bors committed Nov 21, 2018
    rustc: remove {FxHash,Node,DefId,HirId,ItemLocal}{Map,Set} "constructor" fns.
    
    These are cruft left over from a time when `Foo::default()` didn't "just work".
  5. rustc: implement and use Default on more types.

    eddyb committed Jul 25, 2018
  6. Auto merge of #56032 - petrochenkov:stabecip, r=nikomatsakis

    bors committed Nov 21, 2018
    Stabilize `extern_crate_item_prelude`
    
    Closes #55599
  7. fix more links

    steveklabnik committed Nov 20, 2018
  8. update books

    steveklabnik committed Nov 20, 2018
Commits on Nov 20, 2018
  1. Add a couple more tests

    petrochenkov committed Nov 20, 2018
  2. Auto merge of #56111 - nrc:update, r=kennytm

    bors committed Nov 20, 2018
    Update RLS and Rustfmt
    
    Re-opening #56061
    
    @bors: r=kennytm p=2
  3. Update RLS and Rustfmt

    nrc committed Nov 19, 2018
  4. Auto merge of #55720 - RalfJung:const-eval-raw, r=oli-obk

    bors committed Nov 20, 2018
    Make const_eval_raw query return just an AllocId
    
    r? @oli-obk
  5. Auto merge of #55663 - varkor:must_use-traits, r=estebank

    bors committed Nov 20, 2018
    Allow #[must_use] on traits
    
    Addresses #55506, but we'll probably want to add it to some library traits like `Iterator` before the issue is considered fixed. Fixes #51560.
    
    `#[must_use]` is already permitted on traits, with no effect, so this seems like a bug fix, but I might be overlooking something. This currently warns for `impl Trait` or `dyn Trait` when the `Trait` is `#[must_use]` (although I don't think the latter is currently possible, so it's simply future-proofed).
  6. Auto merge of #55678 - Aaronepower:master, r=Mark-Simulacrum

    bors committed Nov 20, 2018
  7. Update releases to add rename dependencies feature

    Aaronepower committed Nov 20, 2018
  8. Auto merge of #56081 - alexcrichton:update-manifest, r=nrc

    bors committed Nov 20, 2018
    Add temporary renames to manifests for rustfmt/clippy
    
    This will be part of our strategy for shipping renamed versions of these
    components for the Rust 2018 edition.
    
    Closes #55967
  9. Auto merge of #55983 - oli-obk:static_, r=Mark-Simulacrum

    bors committed Nov 20, 2018
    Fix stability hole with `static _`
    
    The `underscore_const_names` only gated const items with `_` as the name.
    
    `static _: () = ();` works on beta without feature gates right now, this PR fixes that.
  10. Auto merge of #56049 - newpavlov:revert_51601, r=sfackler

    bors committed Nov 20, 2018
    Revert #51601
    
    Closes: #55985
    
    Specialization of `StepBy<Range(Inclusive)>` results in an incorrectly behaving code when `step_by` is combined with `skip` or `nth`.
    
    If this will get merged we probably should reopen issues previously closed by #51601 (if there was any).
Commits on Nov 19, 2018
  1. Add temporary renames to manifests for rustfmt/clippy

    alexcrichton committed Nov 19, 2018
    This will be part of our strategy for shipping renamed versions of these
    components for the Rust 2018 edition.
    
    Closes #55967
  2. explain why we can use raw

    RalfJung committed Nov 17, 2018
  3. use RawConst in miri

    RalfJung committed Nov 6, 2018
  4. Auto merge of #55971 - SergioBenitez:skip-non-semantic, r=alexcrichton

    bors committed Nov 19, 2018
    Ignore non-semantic tokens for 'probably_eq' streams.
    
    Improves the situation in #43081 by skipping typically non-semantic tokens when checking for 'probably_eq'.
    
    r? @alexcrichton
  5. Fix change to predicates

    varkor committed Nov 19, 2018
  6. Fix typo in #[must_use] message

    varkor committed Nov 3, 2018
  7. Handle trait objects

    varkor committed Nov 3, 2018
  8. Auto merge of #56060 - nrc:save-path-fallback, r=zackmdavis

    bors committed Nov 19, 2018
    save-analysis: fallback to using path id
    
    r? @eddyb