15 lines
245 B
Rust
15 lines
245 B
Rust
// aux-build:lint_stability.rs
|
|
// error-pattern: use of deprecated function
|
|
|
|
#![deny(deprecated)]
|
|
#![allow(warnings)]
|
|
|
|
#[macro_use]
|
|
extern crate lint_stability;
|
|
|
|
use lint_stability::*;
|
|
|
|
fn main() {
|
|
macro_test_arg_nested!(deprecated_text);
|
|
}
|