summaryrefslogtreecommitdiffstats
path: root/tests/ui/deprecation/deprecation-lint-3.rs
blob: e6e1587daeb4683808a75852ccb44bf5deb11d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// aux-build:deprecation-lint.rs
// error-pattern: use of deprecated function

#![deny(deprecated)]
#![allow(warnings)]

#[macro_use]
extern crate deprecation_lint;

use deprecation_lint::*;

fn main() {
    macro_test_arg_nested!(deprecated_text);
}