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 13 pull requests #40440

Closed
wants to merge 34 commits into from
Closed

Rollup of 13 pull requests #40440

wants to merge 34 commits into from

Commits on Feb 28, 2017

  1. Dont bug! on user error

    bjorn3 authored 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 authored 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 authored 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
    e5d1b9c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c9b6318 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d8ca084 View commit details
    Browse the repository at this point in the history
  6. 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
  7. Configuration menu
    Copy the full SHA
    038ec50 View commit details
    Browse the repository at this point in the history
  8. 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. Rollup merge of rust-lang#40146 - bjorn3:few-infer-changes, r=pnkfelix

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

    … r=frewsxcv
    
    Add missing example for Display::fmt
    
    r? @frewsxcv
    Ariel Ben-Yehuda authored Mar 11, 2017
    Configuration menu
    Copy the full SHA
    021e11d View commit details
    Browse the repository at this point in the history
  3. 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 authored Mar 11, 2017
    Configuration menu
    Copy the full SHA
    fabc4d1 View commit details
    Browse the repository at this point in the history
  4. 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 authored Mar 11, 2017
    Configuration menu
    Copy the full SHA
    6029d38 View commit details
    Browse the repository at this point in the history
  5. 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 authored Mar 11, 2017
    Configuration menu
    Copy the full SHA
    1527d8e View commit details
    Browse the repository at this point in the history
  6. 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 authored Mar 11, 2017
    Configuration menu
    Copy the full SHA
    d060e43 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#40367 - eddyb:naked-cruft, r=nagisa

    Improve the LLVM IR we generate for trivial functions, especially #[naked] ones.
    
    These two small changes fix edef1c/libfringe#68:
    * Don't emit ZST allocas, such as when returning `()`
    * Don't emit a branch from LLVM's entry block to MIR's `START_BLOCK` unless needed
      * That is, if a loop branches back to it, although I'm not sure that's even valid MIR
    Ariel Ben-Yehuda authored Mar 11, 2017
    Configuration menu
    Copy the full SHA
    6214e1a 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 authored Mar 11, 2017
    Configuration menu
    Copy the full SHA
    828625c 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 authored Mar 11, 2017
    Configuration menu
    Copy the full SHA
    7dd28e2 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#40385 - arielb1:packed-again, r=eddyb

    emit !align attributes on stores of operand pairs
    
    This avoids another case of missing-align UB. cc rust-lang#40373
    
    r? @eddyb
    Ariel Ben-Yehuda authored Mar 11, 2017
    Configuration menu
    Copy the full SHA
    d0531e9 View commit details
    Browse the repository at this point in the history
  11. 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 authored Mar 11, 2017
    Configuration menu
    Copy the full SHA
    7205a43 View commit details
    Browse the repository at this point in the history
  12. 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 authored Mar 11, 2017
    Configuration menu
    Copy the full SHA
    1822a45 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 authored Mar 11, 2017
    Configuration menu
    Copy the full SHA
    effb66c View commit details
    Browse the repository at this point in the history