]>
Commit | Line | Data |
---|---|---|
923072b8 FG |
1 | // This test is a collection of test that should pass. |
2 | // | |
3 | // check-fail | |
4 | ||
5 | #![feature(cfg_accessible)] | |
6 | #![feature(trait_alias)] | |
7 | ||
8 | trait TraitAlias = std::fmt::Debug + Send; | |
9 | ||
10 | // FIXME: Currently shows "cannot determine" but should be `false` | |
11 | #[cfg_accessible(unresolved)] //~ ERROR cannot determine | |
12 | const C: bool = true; | |
13 | ||
14 | // FIXME: Currently shows "not sure" but should be `false` | |
15 | #[cfg_accessible(TraitAlias::unresolved)] //~ ERROR not sure whether the path is accessible or not | |
16 | const D: bool = true; | |
17 | ||
18 | fn main() {} |