File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1+ // Disabled because the `use<>`` syntax requires at least Rust 1.82.0 and fails the MSRV test in CI
12use core:: fmt:: Debug ;
23
34// `--features trace` code names the return type, so doesn't work with `impl Trait`
Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ fn main() {
44
55 t. pass ( "tests/run-pass/*.rs" ) ;
66
7+ if version_check:: is_min_version ( "1.82.0" ) . unwrap_or ( false ) {
8+ // Tests that involve syntax that is not supported on the MSRV. This
9+ // version can be increased to any stable version as needed.
10+ t. pass ( "tests/run-pass-recent-rustc/*.rs" ) ;
11+ } else {
12+ eprintln ! ( "!!! Skipped run-pass-recent-rustc !!!" ) ;
13+ }
14+
715 let expected_rust_ver = env ! ( "CARGO_PKG_RUST_VERSION" ) ;
816 let run_anyway = args. iter ( ) . any ( |a| a == "--compile-fail" ) ;
917
You can’t perform that action at this time.
0 commit comments