summaryrefslogtreecommitdiffstats
path: root/src/test/ui-fulldeps/issue-15778-pass.rs
blob: c031dbc7155db2c49888f7c8f91340f8ecb9a289 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// check-pass
// aux-build:lint-for-crate-rpass.rs
// ignore-stage1
// compile-flags: -D crate-not-okay

#![feature(plugin, register_attr, custom_inner_attributes)]

#![register_attr(
    crate_okay,
    crate_blue,
    crate_red,
    crate_grey,
    crate_green,
)]

#![plugin(lint_for_crate_rpass)] //~ WARNING compiler plugins are deprecated
#![crate_okay]
#![crate_blue]
#![crate_red]
#![crate_grey]
#![crate_green]

fn main() {}