Skip to content

Commit

Permalink
Merge taiki-e#97
Browse files Browse the repository at this point in the history
97: Enable doc tests on stable r=taiki-e a=taiki-e



Co-authored-by: Taiki Endo <[email protected]>
  • Loading branch information
bors[bot] and taiki-e committed Sep 19, 2019
2 parents d6f860e + 51d02c9 commit 166c0f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
20 changes: 4 additions & 16 deletions ci/azure-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,12 @@ jobs:
parameters:
toolchain: ${{ parameters.toolchain }}

- ${{ if and(not(eq(parameters.toolchain, 'nightly')), not(eq(parameters.cmd, 'test'))) }}:
- script: |
cargo ${{ parameters.cmd }} --all
cargo ${{ parameters.cmd }} --all --all-features
displayName: cargo ${{ parameters.cmd }}
- ${{ if and(not(eq(parameters.toolchain, 'nightly')), eq(parameters.cmd, 'test')) }}:
- script: |
cargo ${{ parameters.cmd }} --all --tests
cargo ${{ parameters.cmd }} --all --all-features --tests
displayName: cargo ${{ parameters.cmd }}
- script: |
cargo ${{ parameters.cmd }} --all
cargo ${{ parameters.cmd }} --all --all-features
displayName: cargo ${{ parameters.cmd }}
- ${{ if eq(parameters.toolchain, 'nightly') }}:
- script: |
cargo ${{ parameters.cmd }} --all
cargo ${{ parameters.cmd }} --all --all-features
displayName: cargo ${{ parameters.cmd }}
- script: |
RUSTFLAGS='-Dwarnings -Zallow-features=proc_macro_hygiene,stmt_expr_attributes' cargo ${{ parameters.cmd }} --all --all-features
displayName: cargo ${{ parameters.cmd }} -Zallow-features
Expand Down
1 change: 0 additions & 1 deletion pin-project-internal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ use syn::parse::Nothing;
/// The following method is implemented on the original `#[pin_project]` type:
///
/// ```
/// # #![feature(arbitrary_self_types)]
/// # use std::pin::Pin;
/// # type ProjectedType = ();
/// # trait Projection {
Expand Down

0 comments on commit 166c0f9

Please sign in to comment.