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 5 pull requests #41905

Merged
merged 23 commits into from
May 11, 2017
Merged

Rollup of 5 pull requests #41905

merged 23 commits into from
May 11, 2017

Commits on May 3, 2017

  1. all queries use dep nodes

    hackeryarn committed May 3, 2017
    Configuration menu
    Copy the full SHA
    4d7c0b6 View commit details
    Browse the repository at this point in the history
  2. item_attrs

    hackeryarn committed May 3, 2017
    Configuration menu
    Copy the full SHA
    a12a55f View commit details
    Browse the repository at this point in the history
  3. fn_arg_names

    hackeryarn committed May 3, 2017
    Configuration menu
    Copy the full SHA
    c72a16b View commit details
    Browse the repository at this point in the history

Commits on May 4, 2017

  1. trait_of_item

    hackeryarn committed May 4, 2017
    Configuration menu
    Copy the full SHA
    aa5a532 View commit details
    Browse the repository at this point in the history
  2. impl_parent

    hackeryarn committed May 4, 2017
    Configuration menu
    Copy the full SHA
    03fe10d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b71d76 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2017

  1. is_foreign_item

    hackeryarn committed May 5, 2017
    Configuration menu
    Copy the full SHA
    5a7946d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d561d4c View commit details
    Browse the repository at this point in the history

Commits on May 8, 2017

  1. is_exported_symbol

    hackeryarn committed May 8, 2017
    Configuration menu
    Copy the full SHA
    1f532bf View commit details
    Browse the repository at this point in the history
  2. removed unnecessary if

    hackeryarn committed May 8, 2017
    Configuration menu
    Copy the full SHA
    dfb740f View commit details
    Browse the repository at this point in the history

Commits on May 9, 2017

  1. resolved merge conflicts

    hackeryarn committed May 9, 2017
    Configuration menu
    Copy the full SHA
    35812d1 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2017

  1. Configuration menu
    Copy the full SHA
    84a40c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d23a650 View commit details
    Browse the repository at this point in the history
  3. Add eprint! and eprintln! macros to the prelude.

    These are exactly the same as `print!` and `println!` except that
    they write to stderr instead of stdout.  Issue rust-lang#39228.
    zackw committed May 10, 2017
    Configuration menu
    Copy the full SHA
    7612727 View commit details
    Browse the repository at this point in the history
  4. Revise the eprint(ln)! feature.

     * Factor out the nigh-identical bodies of `_print` and `_eprint` to a helper
       function `print_to` (I was sorely tempted to call it `_doprnt`).
     * Update the issue number for the unstable `eprint` feature.
     * Add entries to the "unstable book" for `eprint` and `eprint_internal`.
     * Style corrections to the documentation.
    zackw committed May 10, 2017
    Configuration menu
    Copy the full SHA
    07766f6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4ab3bcb View commit details
    Browse the repository at this point in the history
  6. Remove debug message

    est31 committed May 10, 2017
    Configuration menu
    Copy the full SHA
    a06f9a6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    72588a2 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2017

  1. Rollup merge of rust-lang#41192 - zackw:eprintln, r=alexcrichton

    Add `eprint!` and `eprintln!` macros to the prelude.
    
    These are exactly the same as `print!` and `println!` except that they write to stderr instead of stdout.  Issues rust-lang#39228 and rust-lang#40528; previous PR rust-lang#39229; accepted RFC rust-lang/rfcs#1869; proposed revision to The Book rust-lang/book#615.
    
    I have _not_ revised this any since the original submission; I will do that later this week.  I wanted to get this PR in place since it's been quite a while since the RFC was merged.
    
    Known outstanding review comments:
    
    * [x] @steveklabnik requested a new chapter for the unstable version of The Book -- please see if the proposed revisions to the second edition cover it.
    * [x] @nodakai asked if it were possible to merge the internal methods `_print` and `_eprint` - not completely, since they both refer to different internal globals which we don't want to expose, but I will see if some duplication can be factored out.
    
    Please let me know if I missed anything.
    frewsxcv authored May 11, 2017
    Configuration menu
    Copy the full SHA
    a00e182 View commit details
    Browse the repository at this point in the history
  2. Rollup merge of rust-lang#41724 - achernyak:master, r=nikomatsakis

    More Queries for Crate Metadata
    
    This covers a little bit of clean up and the following parts of rust-lang#41417:
    * `fn item_attrs(&self, def_id: DefId) -> Vec<ast::Attribute>;`
    * `fn fn_arg_names(&self, did: DefId) -> Vec<ast::Name>;`
    * `fn trait_of_item(&self, def_id: DefId) -> Option<DefId>;`
    * `fn impl_parent(&self, impl_def_id: DefId) -> Option<DefId>;`
    * ` fn is_foreign_item(&self, did: DefId) -> bool;`
    * `fn is_exported_symbol(&self, def_id: DefId) -> bool;`
    
    r? @nikomatsakis
    frewsxcv authored May 11, 2017
    Configuration menu
    Copy the full SHA
    183dd9e View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#41873 - michaelwoerister:fix-filemap-hash-l…

    …ookup, r=nikomatsakis
    
    ICH: Handle case of removed FileMaps.
    
    This PR fixes a bug introduced in rust-lang#41709 where removing a source file between compilation sessions would cause an ICE:
    https://travis-ci.org/rust-icci/crossbeam/jobs/230582234#L633
    
    r? @nikomatsakis
    frewsxcv authored May 11, 2017
    Configuration menu
    Copy the full SHA
    4ad75b3 View commit details
    Browse the repository at this point in the history
  4. Rollup merge of rust-lang#41877 - eddyb:gdb-force-rust, r=michaelwoer…

    …ister
    
    compiletest: force GDB to print values in the Rust format.
    
    Based on @nodakai's rust-lang#40557 (comment) and @infinity0's rust-lang#40557 (comment).
    Fixes rust-lang#40557.
    frewsxcv authored May 11, 2017
    Configuration menu
    Copy the full SHA
    6073202 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#41889 - est31:master, r=estebank

    Remove debug message
    
    It was added by me in rust-lang#41293. Sorry about that!
    
    Thanks goes to @alexbool for finding it.
    frewsxcv authored May 11, 2017
    Configuration menu
    Copy the full SHA
    00f6e39 View commit details
    Browse the repository at this point in the history