]> git.proxmox.com Git - rustc.git/blame - src/test/ui/conditional-compilation/cfg_accessible-bugs.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / conditional-compilation / cfg_accessible-bugs.rs
CommitLineData
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
8trait TraitAlias = std::fmt::Debug + Send;
9
10// FIXME: Currently shows "cannot determine" but should be `false`
11#[cfg_accessible(unresolved)] //~ ERROR cannot determine
12const 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
16const D: bool = true;
17
18fn main() {}