]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deprecation/deprecation-lint-3.rs
Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into sync_cg_clif-2020-11-27
[rust.git] / src / test / ui / deprecation / deprecation-lint-3.rs
1 // aux-build:deprecation-lint.rs
2 // error-pattern: use of deprecated function
3
4 #![deny(deprecated)]
5 #![allow(warnings)]
6
7 #[macro_use]
8 extern crate deprecation_lint;
9
10 use deprecation_lint::*;
11
12 fn main() {
13     macro_test_arg_nested!(deprecated_text);
14 }