]> git.lizzy.rs Git - rust.git/blob - tests/ui/feature-gates/feature-gate-custom_test_frameworks.stderr
Rollup merge of #107306 - compiler-errors:correct-sugg-for-closure-arg-needs-borrow...
[rust.git] / tests / ui / feature-gates / feature-gate-custom_test_frameworks.stderr
1 error[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    |
4 LL | #[test_case]
5    |   ^^^^^^^^^
6    |
7    = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
8    = help: add `#![feature(custom_test_frameworks)]` to the crate attributes to enable
9
10 error[E0658]: custom test frameworks are an unstable feature
11   --> $DIR/feature-gate-custom_test_frameworks.rs:1:1
12    |
13 LL | #![test_runner(main)]
14    | ^^^^^^^^^^^^^^^^^^^^^
15    |
16    = note: see issue #50297 <https://github.com/rust-lang/rust/issues/50297> for more information
17    = help: add `#![feature(custom_test_frameworks)]` to the crate attributes to enable
18
19 error: aborting due to 2 previous errors
20
21 For more information about this error, try `rustc --explain E0658`.