Skip to content

Commit 3af8236

Browse files
committed
Require Rust 1.75+ for RPITIT (return position impl trait in trait)
1 parent 85b572c commit 3af8236

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
rust: [nightly, beta, stable, 1.70.0, 1.56.0]
27+
rust: [nightly, beta, stable, 1.75.0, 1.70.0, 1.56.0]
2828
timeout-minutes: 45
2929
steps:
3030
- uses: actions/checkout@v4

tests/test.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1663,6 +1663,7 @@ pub mod issue277 {
16631663
}
16641664

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

0 commit comments

Comments
 (0)