fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
851 B21 linesraw
1error[E0658]: use of unstable library feature 'custom_test_frameworks': custom test frameworks are an unstable feature
2  --> $DIR/feature-gate-custom_test_frameworks.rs:3:3
3   |
4LL | #[test_case]
5   |   ^^^^^^^^^
6   |
7   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
8   = help: add `#![feature(custom_test_frameworks)]` to the crate attributes to enable
9
10error[E0658]: custom test frameworks are an unstable feature
11  --> $DIR/feature-gate-custom_test_frameworks.rs:1:1
12   |
13LL | #![test_runner(main)]
14   | ^^^^^^^^^^^^^^^^^^^^^
15   |
16   = note: for more information, see https://github.com/rust-lang/rust/issues/50297
17   = help: add `#![feature(custom_test_frameworks)]` to the crate attributes to enable
18
19error: aborting due to 2 previous errors
20
21For more information about this error, try `rustc --explain E0658`.