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 8 pull requests #63471

Merged
merged 40 commits into from
Aug 11, 2019
Merged

Commits on Aug 9, 2019

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

Commits on Aug 10, 2019

  1. Miri shouldn't look at types

    RalfJung committed Aug 10, 2019
    Configuration menu
    Copy the full SHA
    03e95ae View commit details
    Browse the repository at this point in the history
  2. fix test

    RalfJung committed Aug 10, 2019
    Configuration menu
    Copy the full SHA
    62f1e8a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    440a5c8 View commit details
    Browse the repository at this point in the history
  4. Derive Debug for CrateInfo

    bjorn3 committed Aug 10, 2019
    Configuration menu
    Copy the full SHA
    d809d6e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    93839c3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    30ba4bd View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2019

  1. Configuration menu
    Copy the full SHA
    da6fbb1 View commit details
    Browse the repository at this point in the history
  2. warn for more cases

    RalfJung committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    ca1e94b View commit details
    Browse the repository at this point in the history
  3. fix a comment

    RalfJung committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    fbd5613 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8e6fbbe View commit details
    Browse the repository at this point in the history
  5. note a FIXME

    RalfJung committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    4b062a1 View commit details
    Browse the repository at this point in the history
  6. proper doc comment for 'recovered' field of variant

    Curtesy of petrochenkov
    RalfJung committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    3972d05 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c5a6356 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5c77a17 View commit details
    Browse the repository at this point in the history
  9. update clippy

    RalfJung committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    0930747 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    65ea7b7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    19c85a8 View commit details
    Browse the repository at this point in the history
  12. Remove crate_name from DocContext

    tcx.crate_name is the appropriate way to retrieve the crate name.
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    00d7bc7 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    8f80a8d View commit details
    Browse the repository at this point in the history
  14. Remove ReentrantMutex

    This drops the parking_lot dependency; the ReentrantMutex type appeared
    to be unused (at least, no compilation failures occurred).
    
    This is technically a possible change in behavior of its users, as
    lock() would wait on other threads releasing their guards, but since we
    didn't actually remove any threading or such in this code, it appears
    that we never used that behavior (the behavior change is only noticeable
    if the type previously was used in two threads, in a single thread
    ReentrantMutex is useless).
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    c574810 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    6be2857 View commit details
    Browse the repository at this point in the history
  16. Store typed Passes

    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    0031951 View commit details
    Browse the repository at this point in the history
  17. Don't store all traits in DocContext

    This is already a query so we're just needlessly copying the data
    around.
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    0347480 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    eea2f87 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    ade8b02 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    dbad77f View commit details
    Browse the repository at this point in the history
  21. Remove fmt::Display impls on Markdown structs

    These impls prevent ergonomic use of the config (e.g., forcing us to use
    RefCell) despite all usecases for these structs only using their Display
    impls once.
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    c250b5f View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    1aa0964 View commit details
    Browse the repository at this point in the history
  23. Reduce nesting in externalfiles implementation

    Utilize `?` instead of and_then/map operators
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    3b8a24d View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    b204232 View commit details
    Browse the repository at this point in the history
  25. Copy ty::Instance instead of passing by reference

    ty::Instance is small and Copy, we should not be adding additional
    indirection.
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    43de341 View commit details
    Browse the repository at this point in the history
  26. Rollup merge of rust-lang#61969 - MikailBag:master, r=Centril

    Add #[repr(transparent)] for several types
    
    In some functions, types mentioned in this PR are transmuted into their inner value.
    Example for `PathBuf`: https://github.com/rust-lang/rust/blob/master/src/libstd/path.rs#L1132.
    This PR adds `#[repr(transparent)]` to those types, so their correct behavior doesn't depend on compiler details. (As far as I understand, currently that line, converting `PathBuf` to `Vec<u8>`, is UB).
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    8862977 View commit details
    Browse the repository at this point in the history
  27. Rollup merge of rust-lang#63346 - RalfJung:zeroed-lint, r=eddyb

    Lint on some incorrect uses of mem::zeroed / mem::uninitialized
    
    Cc rust-lang#62825 and https://internals.rust-lang.org/t/make-mem-uninitialized-and-mem-zeroed-panic-for-some-types-where-0-is-a-niche/10605
    
    This does not yet handle `NonNull`/`NonZero*`, but it is a start.
    
    I also improved some doc issues I hit on the way, and added a useful helper to `TyS`.
    
    EDIT: I added the relnotes label mostly as a proposal -- I think this is worth mentioning, but leave the decision up to the release team.
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    061245e View commit details
    Browse the repository at this point in the history
  28. Rollup merge of rust-lang#63433 - RalfJung:miri-call, r=oli-obk

    Miri shouldn't look at types
    
    r? @oli-obk
    
    Fixes rust-lang#62137
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    24a8337 View commit details
    Browse the repository at this point in the history
  29. Rollup merge of rust-lang#63440 - RalfJung:ctfe-backtrace, r=oli-obk

    rename RUST_CTFE_BACKTRACE to RUSTC_CTFE_BACKTRACE
    
    This matches `RUSTC_LOG`. Both affect only rustc, not any Rust program.
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    8122a01 View commit details
    Browse the repository at this point in the history
  30. Rollup merge of rust-lang#63441 - bjorn3:patch-1, r=Mark-Simulacrum

    Derive Debug for CrateInfo
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    c805a38 View commit details
    Browse the repository at this point in the history
  31. Rollup merge of rust-lang#63442 - lzutao:vec-bin-search-insert, r=Mar…

    …k-Simulacrum
    
    Add an example to show how to insert item to a sorted vec
    
    Closes rust-lang#61684
    cc rust-lang#61742
    r? @Mark-Simulacrum, @jonas-schievink
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    e16b12f View commit details
    Browse the repository at this point in the history
  32. Rollup merge of rust-lang#63453 - Mark-Simulacrum:rustdoc-clean-2, r=…

    …GuillaumeGomez
    
    rustdoc: general cleanup
    
    Almost all commits stand alone; but all commits can be reviewed individually.
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    86ceab4 View commit details
    Browse the repository at this point in the history
  33. Rollup merge of rust-lang#63464 - Mark-Simulacrum:deref-instance, r=e…

    …ddyb
    
    Copy ty::Instance instead of passing by reference
    
    ty::Instance is small and Copy, we should not be adding additional
    indirection.
    
    Fixes rust-lang#63409.
    
    r? @eddyb
    Mark-Simulacrum committed Aug 11, 2019
    Configuration menu
    Copy the full SHA
    4229dc3 View commit details
    Browse the repository at this point in the history