2017-07-11 07:30:10 -05:00
|
|
|
// This test just shows that a crate-level `#![deprecated]` does not
|
|
|
|
// signal a warning or error. (This file sits on its own because a
|
|
|
|
// crate-level `#![deprecated]` causes all that crate's item
|
|
|
|
// definitions to be deprecated, which is a pain to work with.)
|
|
|
|
//
|
|
|
|
// (For non-crate-level cases, see issue-43106-gating-of-builtin-attrs.rs)
|
|
|
|
|
2019-06-12 10:18:32 -05:00
|
|
|
// check-pass
|
2017-07-11 07:30:10 -05:00
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
#![deprecated]
|
2017-07-11 07:30:10 -05:00
|
|
|
|
2019-01-01 17:21:05 -06:00
|
|
|
fn main() {}
|