Skip to content

Commit

Permalink
Require Rust 1.75+ for RPITIT (return position impl trait in trait)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 3, 2025
1 parent 85b572c commit 3af8236
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: [nightly, beta, stable, 1.70.0, 1.56.0]
rust: [nightly, beta, stable, 1.75.0, 1.70.0, 1.56.0]
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1663,6 +1663,7 @@ pub mod issue277 {
}

// https://github.com/dtolnay/async-trait/issues/281
#[rustversion::since(1.75)]
pub mod issue281 {
use async_trait::async_trait;

Expand Down

0 comments on commit 3af8236

Please sign in to comment.