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 3 pull requests #41345

Merged
merged 17 commits into from
Apr 17, 2017
Merged

Rollup of 3 pull requests #41345

merged 17 commits into from
Apr 17, 2017

Commits on Apr 15, 2017

  1. Implementation of the vis macro matcher.

    DanielKeep authored and durka committed Apr 15, 2017
    Configuration menu
    Copy the full SHA
    a248949 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d53e413 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06411c4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    16010c2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    06d3233 View commit details
    Browse the repository at this point in the history
  6. widen :vis follow set

    durka committed Apr 15, 2017
    Configuration menu
    Copy the full SHA
    37459e1 View commit details
    Browse the repository at this point in the history
  7. document :vis in unstable book

    durka committed Apr 15, 2017
    Configuration menu
    Copy the full SHA
    1d46805 View commit details
    Browse the repository at this point in the history
  8. feature gate :vis matcher

    durka committed Apr 15, 2017
    Configuration menu
    Copy the full SHA
    e0cd766 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    51c8af5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cfa51f2 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2017

  1. rustdoc: add a list of headings to the sidebar

    QuietMisdreavus authored and QuietMisdreavus committed Apr 17, 2017
    Configuration menu
    Copy the full SHA
    27bfbd5 View commit details
    Browse the repository at this point in the history
  2. Hoedown big comeback!

    GuillaumeGomez committed Apr 17, 2017
    Configuration menu
    Copy the full SHA
    cbf8342 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    695354a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bee0291 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#41012 - durka:vis-matcher, r=petrochenkov

    :vis matcher for macro_rules
    
    Resurrection of @DanielKeep's implementation posted with [RFC 1575](rust-lang/rfcs#1575).
    
    @jseyfried was of the opinion that this doesn't need an RFC.
    
    Needed before merge:
    
    - [x] sign-off from @DanielKeep since I stole his code
    - [x] feature gate
    - [x] docs
    frewsxcv authored Apr 17, 2017
    Configuration menu
    Copy the full SHA
    914b6f1 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#41280 - QuietMisdreavus:rustdoc-toc, r=Guil…

    …laumeGomez
    
    rustdoc: add a list of headings to the sidebar
    
    It's another misdreavus rustdoc PR, which means it's time for Bikeshed City once again! `:3`
    
    In an effort to aid navigation in long documentation pages, this PR adds a listing of headings to the sidebars of pages where such headings exist. For example, for structs, links to their fields, inherent methods, and trait implementations are available where applicable.
    
    Examples:
    
    * Modules/Crate roots
      ![image](https://cloud.githubusercontent.com/assets/5217170/25019930/1000fa3a-2052-11e7-98ff-ddf5af18b3e6.png)
    * Enums
      ![image](https://cloud.githubusercontent.com/assets/5217170/25019954/33497f9e-2052-11e7-88cf-df46f1b3b8a3.png)
    * Primitives
      ![image](https://cloud.githubusercontent.com/assets/5217170/25019978/4820bbc6-2052-11e7-8b5a-96a864eb2a5b.png)
    * Traits
      ![image](https://cloud.githubusercontent.com/assets/5217170/25020093/bd1bc9f2-2052-11e7-9cd1-00a0ad8007bc.png)
    * Structs
      ![image](https://cloud.githubusercontent.com/assets/5217170/25020145/d75206b0-2052-11e7-88cc-9e9525084775.png)
    
    Open questions:
    
    * Right now, these kinds of pages (and also unions) are the only pages that will receive the name header - pages for functions, constants, macros, etc, won't have the corresponding name in their sidebar. Should I print the name regardless and only add table-of-contents links for pages that have them? This would make them match, for example, a struct with no public fields, no methods, and no trait implementations. The latter would still have a "Struct MyStruct" line above the module contents, with no header links to speak of, whereas a function wouldn't even have "Function my\_function".
    * This is only a header listing, but there has been requests to include a more-complete listing of fields/methods/traits/etc, for example in rust-lang#41123.
    frewsxcv authored Apr 17, 2017
    Configuration menu
    Copy the full SHA
    4ae25a6 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#41290 - GuillaumeGomez:put-back-hoedown, r=…

    …steveklabnik
    
    Hoedown big comeback!
    
    ```bash
    > cargo +local test
       Compiling libc v0.2.20
       Compiling sysinfo v0.3.4 (file:///Users/imperio/rust/sysinfo)
        Finished dev [unoptimized + debuginfo] target(s) in 3.2 secs
         Running target/debug/deps/disk_list-dbd70897f1f7e080
    
    running 1 test
    test test_disks ... ok
    
    test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
    
         Running target/debug/deps/sysinfo-8ad11103abdf5941
    
    running 0 tests
    
    test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured
    
       Doc-tests sysinfo
    WARNING: src/sysinfo.rs -  (line 45) test will be run in the next rustdoc version. If it's not supposed to, please update your documentation and make it compliant to common mark specifications.
    WARNING: src/sysinfo.rs -  (line 48) test will be run in the next rustdoc version. If it's not supposed to, please update your documentation and make it compliant to common mark specifications.
    
    running 1 test
    test src/sysinfo.rs -  (line 14) ... ok
    
    test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured
    ```
    
    r? @rust-lang/docs
    frewsxcv authored Apr 17, 2017
    Configuration menu
    Copy the full SHA
    07c6295 View commit details
    Browse the repository at this point in the history