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

Closed
wants to merge 22 commits into from
Closed

Rollup of 8 pull requests #57823

wants to merge 22 commits into from

Commits on Jan 16, 2019

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

Commits on Jan 18, 2019

  1. Merge visitors in AST validation

    Zoxc committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    13dc584 View commit details
    Browse the repository at this point in the history
  2. When using value after move, point at span of local

    When trying to use a value after move, instead of using a note, point
    at the local declaration that has a type that doesn't implement `Copy`
    trait.
    estebank committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    eb5a253 View commit details
    Browse the repository at this point in the history
  3. Add test for rust-lang#34721

    estebank committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    74a2cd0 View commit details
    Browse the repository at this point in the history
  4. break eagerly from loop

    estebank committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    97bc38e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    802d8c5 View commit details
    Browse the repository at this point in the history
  6. review comments

    estebank committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    09006d8 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2019

  1. Address some comments

    Zoxc committed Jan 19, 2019
    Configuration menu
    Copy the full SHA
    a5d4aed View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2019

  1. Configuration menu
    Copy the full SHA
    2200fd3 View commit details
    Browse the repository at this point in the history
  2. const_eval: Predetermine the layout of all locals when pushing a stac…

    …k frame
    
    Usually the layout of any locals is required at least three times, once
    when it becomes live, once when it is written to, and once it is read
    from. By adding a cache for them, we can reduce the number of layout
    queries speeding up code that is heavy on const_eval.
    dotdash committed Jan 20, 2019
    Configuration menu
    Copy the full SHA
    98d4f33 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5d167f View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2019

  1. Configuration menu
    Copy the full SHA
    3ecbe1e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45a95b5 View commit details
    Browse the repository at this point in the history
  3. Add powerpc64-unknown-freebsd

    Your Name committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    58b0200 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#57294 - estebank:point-copy-less, r=nikomat…

    …sakis
    
    When using value after move, point at span of local
    
    When trying to use a value after move, instead of using a note, point
    at the local declaration that has a type that doesn't implement `Copy`
    trait.
    
    ```
    error[E0382]: use of moved value: `x`
      --> $DIR/issue-34721.rs:27:9
       |
    LL |     pub fn baz<T: Foo>(x: T) -> T {
       |                -       - move occurs because `x` has type `T`, which does not implement the `Copy` trait
       |                |
       |                consider adding a `Copy` constraint to this type argument
    LL |         if 0 == 1 {
    LL |             bar::bar(x.zero())
       |                      - value moved here
    LL |         } else {
    LL |             x.zero()
       |             - value moved here
    LL |         };
    LL |         x.zero()
       |         ^ value used here after move
    ```
    
    Fix rust-lang#34721.
    Centril committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    68ea7e4 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#57552 - GuillaumeGomez:default-images, r=Qu…

    …ietMisdreavus
    
    Default images
    
    Add default rust logo (the image at the top of the sidebar) and default favicon. No more missing image or inexistent icon on the documentation tabs!
    
    r? @QuietMisdreavus
    Centril committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    db720ec View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#57667 - ishitatsuyuki:p-leak, r=nnethercote

    Fix memory leak in P::filter_map
    
    Probably this function isn't widely used, but anyway this wasn't working as intended.
    
    r? @eddyb
    
    Do not rollup if you want to see if max-rss change in perf.
    Centril committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    d29a1bc View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#57677 - dotdash:locals, r=michaelwoerister

    const_eval: Predetermine the layout of all locals when pushing a stack frame
    
    Usually the layout of any locals is required at least three times, once
    when it becomes live, once when it is written to, and once it is read
    from. By adding a cache for them, we can reduce the number of layout
    queries speeding up code that is heavy on const_eval.
    Centril committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    d87385f View commit details
    Browse the repository at this point in the history
  8. Rollup merge of rust-lang#57730 - Zoxc:combined-ast-validator, r=cram…

    …ertj
    
    Merge visitors in AST validation
    
    Cuts runtime for AST validation on `syntex_syntax` from 31.5 ms to 17 ms.
    Centril committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    45e6a2b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a311372 View commit details
    Browse the repository at this point in the history
  10. Rollup merge of rust-lang#57795 - estebank:did-you-mean, r=zackmdavis

    Use structured suggestion in stead of notes
    Centril committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    c5dfb30 View commit details
    Browse the repository at this point in the history
  11. Rollup merge of rust-lang#57809 - MikaelUrankar:powerpc64-unknown-fre…

    …ebsd, r=nagisa
    
    Add powerpc64-unknown-freebsd
    
    FreeBSD review: https://reviews.freebsd.org/D18367
    Centril committed Jan 21, 2019
    Configuration menu
    Copy the full SHA
    39b92c1 View commit details
    Browse the repository at this point in the history