diff --git a/ci/azure-test.yml b/ci/azure-test.yml index e955a968..82ebe379 100644 --- a/ci/azure-test.yml +++ b/ci/azure-test.yml @@ -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 diff --git a/pin-project-internal/src/lib.rs b/pin-project-internal/src/lib.rs index b29d45a3..f402f455 100644 --- a/pin-project-internal/src/lib.rs +++ b/pin-project-internal/src/lib.rs @@ -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 {