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
1
2
use core:: fmt:: Debug ;
2
3
3
4
// `--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() {
4
4
5
5
t. pass ( "tests/run-pass/*.rs" ) ;
6
6
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
+
7
15
let expected_rust_ver = env ! ( "CARGO_PKG_RUST_VERSION" ) ;
8
16
let run_anyway = args. iter ( ) . any ( |a| a == "--compile-fail" ) ;
9
17
You can’t perform that action at this time.
0 commit comments