Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 9 pull requests #56276

Closed
wants to merge 22 commits into from
Closed

Rollup of 9 pull requests #56276

wants to merge 22 commits into from

Commits on Nov 20, 2018

  1. Enclose type in backticks for "non-exhaustive patterns" error

    This makes the error style consistent with the convention in error messages.
    varkor committed Nov 20, 2018
    Configuration menu
    Copy the full SHA
    b99f9f7 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2018

  1. Configuration menu
    Copy the full SHA
    83388e8 View commit details
    Browse the repository at this point in the history
  2. Update as_temp.rs

    oli-obk authored Nov 21, 2018
    Configuration menu
    Copy the full SHA
    5a2a251 View commit details
    Browse the repository at this point in the history
  3. Update as_temp.rs

    oli-obk authored Nov 21, 2018
    Configuration menu
    Copy the full SHA
    925274a View commit details
    Browse the repository at this point in the history
  4. Enclose type in backticks for "reached the recursion limit while auto…

    …-dereferencing" error
    varkor committed Nov 21, 2018
    Configuration menu
    Copy the full SHA
    f039872 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2018

  1. Configuration menu
    Copy the full SHA
    5c99ae6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d76f54 View commit details
    Browse the repository at this point in the history
  3. Add TryFrom<&[T]> for [T; $N] where T: Copy

    `TryFrom<&[T]> for &[T; $N]` (note *reference* to an array) already exists,
    but not needing to dereference makes type inference easier
    for example when using `u32::from_be_bytes`.
    
    Also add doc examples doing just that.
    SimonSapin committed Nov 25, 2018
    Configuration menu
    Copy the full SHA
    057e6d3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2d2b7c0 View commit details
    Browse the repository at this point in the history
  5. Update cargo

    ehuss committed Nov 25, 2018
    Configuration menu
    Copy the full SHA
    ae0d033 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2018

  1. Remove unsafe unsafe inner function.

    Within this `Iterator` implementation, a function `unsafe_get` is
    defined which unsafely allows _unchecked_ indexing of any element in a
    slice. This should be marked as _unsafe_, but it is not.
    
    To address this issue, I removed that inner function.
    frewsxcv committed Nov 26, 2018
    Configuration menu
    Copy the full SHA
    cc46685 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd20be5 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2018

  1. Configuration menu
    Copy the full SHA
    d4a6e73 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#55821 - ljedrz:cached_key_sorts, r=michaelw…

    …oerister
    
    Use sort_by_cached_key when the key function is not trivial/free
    
    I'm not 100% sure about `def_path_hash` (everything it does is inlined) but it seems like a good idea at least for the rest, as they are cloning.
    kennytm authored Nov 27, 2018
    Configuration menu
    Copy the full SHA
    d8ba63f View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#56114 - varkor:nonexhaustive-backticks, r=n…

    …ikomatsakis
    
    Enclose type in backticks for "non-exhaustive patterns" error
    
    This makes the error style consistent with the convention in error messages.
    kennytm authored Nov 27, 2018
    Configuration menu
    Copy the full SHA
    41232f6 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#56127 - rust-lang:oli-obk-patch-1, r=nikoma…

    …tsakis
    
    Update an outdated comment in mir building
    
    r? @eddyb
    kennytm authored Nov 27, 2018
    Configuration menu
    Copy the full SHA
    bb35aad View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#56205 - estebank:ice-ice-baby, r=nikomatsakis

    Fix ICE with feature self_struct_ctor
    
    Fix rust-lang#56202.
    kennytm authored Nov 27, 2018
    Configuration menu
    Copy the full SHA
    48276a7 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#56216 - SimonSapin:array-tryfrom-slice, r=w…

    …ithoutboats
    
    Add TryFrom<&[T]> for [T; $N] where T: Copy
    
    `TryFrom<&[T]> for &[T; $N]` (note *reference* to an array) already exists, but not needing to dereference makes type inference easier for example when using `u32::from_be_bytes`.
    
    Also add doc examples doing just that.
    kennytm authored Nov 27, 2018
    Configuration menu
    Copy the full SHA
    350f314 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#56223 - Mark-Simulacrum:self-profile-json, …

    …r=wesleywiser
    
    Make JSON output from -Zprofile-json valid
    
    r? @wesleywiser
    
    cc rust-lang/rustc-perf#299
    kennytm authored Nov 27, 2018
    Configuration menu
    Copy the full SHA
    8420944 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#56224 - ehuss:update-cargo, r=alexcrichton

    Update cargo
    
    14 commits in b3d0b2e545b61d4cd08096911724b7d49d213f73..1ff5975b96b3d395bb962394596998dfb485f793
    2018-11-15 19:13:04 +0000 to 2018-11-25 14:59:12 +0000
    - Intern SourceId (rust-lang/cargo#6342)
    - Tweak Layout to allow for non json file targets with internal "." (rust-lang/cargo#6255)
    - Correct Target Directory command-line option (rust-lang/cargo#6343)
    - Persistent data structures by im-rs (rust-lang/cargo#6336)
    - Move command prelude into main library (rust-lang/cargo#6335)
    - Distinguish custom build invocations (rust-lang/cargo#6331)
    - Allow crate_type=bin examples to run (rust-lang/cargo#6330)
    - Make verify-project honour unstable features (rust-lang/cargo#6326)
    - Make autodiscovery disable inferred targets (rust-lang/cargo#6329)
    - Add `c` alias for `check` (rust-lang/cargo#6218)
    - Allow user aliases to override built-in aliases (rust-lang/cargo#6259)
    - Fix renaming directory project using build scripts with cross-compiling. (rust-lang/cargo#6328)
    - Fix add_plugin_deps-related tests. (rust-lang/cargo#6327)
    - Add a glossary. (rust-lang/cargo#6321)
    kennytm authored Nov 27, 2018
    Configuration menu
    Copy the full SHA
    5dc0f40 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#56236 - frewsxcv:frewsxcv-unsafe-unsafe, r=…

    …cramertj
    
    Remove unsafe `unsafe` inner function.
    
    Within this `Iterator` implementation, a function `unsafe_get` is
    defined which unsafely allows _unchecked_ indexing of any element in a
    slice. This should be marked as _unsafe_, but it is not.
    
    To address this issue, I removed that inner function.
    kennytm authored Nov 27, 2018
    Configuration menu
    Copy the full SHA
    0e2dc16 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#56255 - jasonl:update-old-documents, r=mich…

    …aelwoerister
    
    Update outdated code comments in StringReader
    
    For the detection of newlines in the lexer, this is now done in `analyze_source_file.rs`.
    kennytm authored Nov 27, 2018
    Configuration menu
    Copy the full SHA
    76d7daa View commit details
    Browse the repository at this point in the history