summaryrefslogtreecommitdiffstats
path: root/third_party/rust/futures/tests/_require_features.rs
blob: 8046cc99a41b7f55c62256855a5755c494dcf04d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#[cfg(not(all(
    feature = "std",
    feature = "alloc",
    feature = "async-await",
    feature = "compat",
    feature = "io-compat",
    feature = "executor",
    feature = "thread-pool",
)))]
compile_error!(
    "`futures` tests must have all stable features activated: \
    use `--all-features` or `--features default,thread-pool,io-compat`"
);