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 #57874

Closed
wants to merge 25 commits into from
Closed

Rollup of 9 pull requests #57874

wants to merge 25 commits into from

Commits on Jan 18, 2019

  1. Configuration menu
    Copy the full SHA
    1dc4e41 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    efda681 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2019

  1. Configuration menu
    Copy the full SHA
    a59eabb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db2978a View commit details
    Browse the repository at this point in the history
  3. Span fixup

    oli-obk committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    f6da141 View commit details
    Browse the repository at this point in the history
  4. Add regression test

    oli-obk committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    2c57d1d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b154234 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b876694 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2019

  1. Configuration menu
    Copy the full SHA
    d4ee556 View commit details
    Browse the repository at this point in the history
  2. Add os::fortanix_sgx::ffi module

    Jethro Beekman committed Jan 23, 2019
    Configuration menu
    Copy the full SHA
    8db59d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0db2587 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b2dfd96 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    39aa89b View commit details
    Browse the repository at this point in the history
  6. Fix std::future::from_generator documentation

    This function takes a generator and wraps it in a future, not
    vice-versa.
    Aaron1011 committed Jan 23, 2019
    Configuration menu
    Copy the full SHA
    31cd65f View commit details
    Browse the repository at this point in the history
  7. Add suggestion for incorrect field syntax.

    This commit adds a suggestion when a `=` character is used when
    specifying the value of a field in a struct constructor incorrectly
    instead of a `:` character.
    davidtwco committed Jan 23, 2019
    Configuration menu
    Copy the full SHA
    f14d007 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2019

  1. Stabilize no_panic_pow

    milesand committed Jan 24, 2019
    Configuration menu
    Copy the full SHA
    b12aa4f View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#57066 - Zoxc:graph-race, r=michaelwoerister

    Fix race condition when emitting stored diagnostics
    
    r? @michaelwoerister
    Centril authored Jan 24, 2019
    Configuration menu
    Copy the full SHA
    b3cefbc View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#57606 - oli-obk:shrink, r=RalfJung

    Get rid of the fake stack frame for reading from constants
    
    r? @RalfJung
    
    fixes the ice in rust-lang#53708 but still keeps around the wrong "non-exhaustive match" error
    
    cc @varkor
    Centril authored Jan 24, 2019
    Configuration menu
    Copy the full SHA
    25f6171 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#57734 - oli-obk:fixes_and_cleanups, r=pnkfelix

    Fix evaluating trivial drop glue in constants
    
    ```rust
    struct A;
    impl Drop for A {
        fn drop(&mut self) {}
    }
    
    const FOO: Option<A> = None;
    
    const BAR: () = (FOO, ()).1;
    ```
    
    was erroring with
    
    ```
    error: any use of this value will cause an error
     --> src/lib.rs:9:1
      |
    9 | const BAR: () = (FOO, ()).1;
      | ^^^^^^^^^^^^^^^^^^^^^^^^^^-^
      |                           |
      |                           calling non-const function `std::ptr::real_drop_in_place::<(std::option::Option<A>, ())> - shim(Some((std::option::Option<A>, ())))`
      |
      = note: #[deny(const_err)] on by default
    
    error: aborting due to previous error
    ```
    
    before this PR. According to godbolt this last compiled successfully in 1.27
    Centril authored Jan 24, 2019
    Configuration menu
    Copy the full SHA
    7fbecb6 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#57846 - QuietMisdreavus:proc-macro-links, r…

    …=GuillaumeGomez
    
    rustdoc: fix ICE from loading proc-macro stubs
    
    Fixes rust-lang#55399
    
    When trying to resolve a macro, rustdoc first tries to load it from the resolver to see whether it's a Macros 2.0 macro, so it can return that Def before looking for any other kind of macro. However, this becomes a problem when you try to load proc-macros: since you can't use a proc-macro inside its own crate, this lookup also fails when attempting to link to it.
    
    However, we have a hint that this lookup will fail: Macros which are actually `ProcMacroStub`s will fail the lookup, so we can use that information to skip loading the macro. Rustdoc will then happily check `resolve.all_macros`, which will return a usable Def that we can link to.
    Centril authored Jan 24, 2019
    Configuration menu
    Copy the full SHA
    bbae978 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#57860 - jethrogb:jb/sgx-os-ffi, r=joshtriplett

    Add os::fortanix_sgx::ffi module
    
    This uses the same byte slice accessors that Unix has. The [ABI specifies](https://docs.rs/fortanix-sgx-abi/0.3.2/fortanix_sgx_abi/struct.ByteBuffer.html) byte slices.
    Centril authored Jan 24, 2019
    Configuration menu
    Copy the full SHA
    eea9b2c View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#57861 - pepyakin:wasm-dont-export-table, r=…

    …alexcrichton
    
    Don't export table by default in wasm
    
    Revert of rust-lang#53237
    As per discussion here rustwasm/team#251
    Centril authored Jan 24, 2019
    Configuration menu
    Copy the full SHA
    b5628bb View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#57863 - davidtwco:issue-57684, r=estebank

    Add suggestion for incorrect field syntax.
    
    Fixes rust-lang#57684.
    
    This commit adds a suggestion when a `=` character is used when
    specifying the value of a field in a struct constructor incorrectly
    instead of a `:` character.
    
    r? @estebank
    Centril authored Jan 24, 2019
    Configuration menu
    Copy the full SHA
    8470dad View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#57867 - Aaron1011:fix/gen-future-doc, r=Cen…

    …tril
    
    Fix std::future::from_generator documentation
    
    This function takes a generator and wraps it in a future, not
    vice-versa.
    Centril authored Jan 24, 2019
    Configuration menu
    Copy the full SHA
    11fef00 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#57873 - milesand:master, r=Centril

    Stabilize no_panic_pow
    
    This would close rust-lang#48320.
    
    I'm not sure if I've done this right, I've just changed attribute name to stable and set `since` to two minor versions above current stable since that seemed like what others were doing.
    Centril authored Jan 24, 2019
    Configuration menu
    Copy the full SHA
    84dd79b View commit details
    Browse the repository at this point in the history