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 12 pull requests #40446

Merged
merged 33 commits into from
Mar 12, 2017
Merged

Rollup of 12 pull requests #40446

merged 33 commits into from
Mar 12, 2017

Commits on Feb 28, 2017

  1. Dont bug! on user error

    bjorn3 committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    53d3c89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54a1c8b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2a40918 View commit details
    Browse the repository at this point in the history
  4. Improve a bit more

    bjorn3 committed Feb 28, 2017
    Configuration menu
    Copy the full SHA
    be49671 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    90e94d9 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2017

  1. Fix missing backtick typo

    Fixes rendering of the end of the `Configure and Make` section.
    Nashenas88 committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    234753a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3198904 View commit details
    Browse the repository at this point in the history
  3. fix UB in repr(packed) tests

    TimNN committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    79a7ee8 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2017

  1. Configuration menu
    Copy the full SHA
    74bc7fd View commit details
    Browse the repository at this point in the history
  2. Do not bother creating StorageLive for TyNever

    Keeps MIR cleaner, `StorageLive(_: !)` makes no sense anyway.
    nagisa committed Mar 9, 2017
    Configuration menu
    Copy the full SHA
    84d1f6a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfb41ae View commit details
    Browse the repository at this point in the history
  4. update gdbr tests

    gdb will now reliably detect the lanugage as rust even before any
    code is run.
    TimNN committed Mar 9, 2017
    Configuration menu
    Copy the full SHA
    b95b5db View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7f19f1f View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2017

  1. move related tests to type-check ui test directory

    Cengiz Can committed Mar 10, 2017
    Configuration menu
    Copy the full SHA
    889337d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a5a3981 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea3c82c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e5d1b9c View commit details
    Browse the repository at this point in the history
  5. Allow lints to check Bodys directly

    oli-obk authored and alexcrichton committed Mar 10, 2017
    Configuration menu
    Copy the full SHA
    b959d13 View commit details
    Browse the repository at this point in the history
  6. rustc: Whitelist the FMA target feature

    This commit adds the entry `"fma\0"` to the whitelist for the x86
    target. LLVM already supports fma but rustc did not directly. Previously
    rustc permitted `+fma` in the target-feature argument and enabled the use
    of FMA instructions, but it did not list it in the configuration and
    attributes.
    
    fixes rust-lang#40406
    fsasm committed Mar 10, 2017
    Configuration menu
    Copy the full SHA
    4d23ca4 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2017

  1. Attempt to debug sccache in more locations

    This should hopefully add support for debugging OSX and Windows presumed sccache
    failures instead of just the Linux ones.
    alexcrichton committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    c60a58b View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#40146 - bjorn3:few-infer-changes, r=pnkfelix

    Better docs of rusty parts of typeck
    Ariel Ben-Yehuda committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    45de0f9 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#40299 - GuillaumeGomez:fmt-display-example,…

    … r=frewsxcv
    
    Add missing example for Display::fmt
    
    r? @frewsxcv
    Ariel Ben-Yehuda committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    b933bdc View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#40315 - oli-obk:lint_body, r=eddyb

    Allow lints to check Bodys directly
    
    r? @eddyb
    
    babysteps towards fixing https://github.com/Manishearth/rust-clippy/issues/1580 (disable certain lints in const environments, since they make no sense there (yet))
    Ariel Ben-Yehuda committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    b49036c View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#40319 - eddyb:it's-"unsize"-not-"unsound", …

    …r=nikomatsakis
    
    Disallow subtyping between T and U in T: Unsize<U>.
    
    Because `&mut T` can be coerced to `&mut U`, `T` and `U` must be unified invariantly. Fixes rust-lang#40288.
    E.g. coercing `&mut [&'a X; N]` to `&mut [&'b X]` must require `'a` be equal to `'b`, otherwise you can convert between `&'a X` and `&'b X` (in either direction), potentially unsoundly lengthening lifetimes.
    
    Subtyping here was introduced with `Unsize` in rust-lang#24619 (landed in 1.1, original PR is rust-lang#23785).
    Ariel Ben-Yehuda committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    c886815 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#40344 - nrc:save-container, r=eddyb

    save-analysis: cope with lack of method data after a type error
    
    Fixes rust-lang#39957
    
    r? @eddyb
    Ariel Ben-Yehuda committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    8dc8f8f View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#40345 - Nashenas88:patch-1, r=estebank

    Fix missing backtick typo
    
    Fixes rendering of the end of the `Configure and Make` section.
    Ariel Ben-Yehuda committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    037e506 View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#40372 - nagisa:never-drop, r=eddyb

    Do not bother creating StorageLive for TyNever
    
    Keeps MIR cleaner, `StorageLive(_: !)` makes no sense anyway.
    
    r? @eddyb
    Ariel Ben-Yehuda committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    66436b5 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#40373 - TimNN:test-ub-packed, r=arielb1

    Fix UB in repr(packed) tests
    
    r? @arielb1
    
    cc rust-lang#37609 and rust-lang#27060
    Ariel Ben-Yehuda committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    d75b9ad View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#40400 - TimNN:gdbr-updates, r=alexcrichton

    Update gdbr tests
    
    gdb will now reliably detect the lanugage as rust even before any code is run.
    Ariel Ben-Yehuda committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    25dcbca View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#40404 - cengizIO:master, r=nikomatsakis

    fix rust-lang#40294 obligation cause.body_id is not always a NodeExpr
    
    Hello!
    
    This fixes rust-lang#40294 and moves tests related to rust-lang#38812 to a much more sensible directory.
    
    Thanks to @nikomatsakis and @eddyb
    Ariel Ben-Yehuda committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    d208b2d View commit details
    Browse the repository at this point in the history
  12. Rollup merge of rust-lang#40419 - GuillaumeGomez:fix-const-rendering,…

    … r=frewsxcv
    
    Fix associated consts display
    
    Fixes rust-lang#40370.
    
    r? @frewsxcv
    Ariel Ben-Yehuda committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    7b0caa5 View commit details
    Browse the repository at this point in the history
  13. Rollup merge of rust-lang#40431 - fsasm:master, r=BurntSushi

    rustc: Whitelist the FMA target feature
    
    This commit adds the entry `"fma\0"` to the whitelist for the x86
    target. LLVM already supports fma but rustc did not directly. Previously
    rustc permitted `+fma` in the target-feature argument and enabled the use
    of FMA instructions, but it did not list it in the configuration and
    attributes.
    
    fixes rust-lang#40406
    Ariel Ben-Yehuda committed Mar 11, 2017
    Configuration menu
    Copy the full SHA
    b1e03fe View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2017

  1. Configuration menu
    Copy the full SHA
    6a5fd0f View commit details
    Browse the repository at this point in the history