rust/tests/ui/lint/lint-stability3.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
283 B
Rust
Raw Permalink Normal View History

//@ aux-build:lint_stability.rs
#![deny(deprecated)]
#![allow(warnings)]
#[macro_use]
extern crate lint_stability;
use lint_stability::*;
fn main() {
macro_test_arg_nested!(deprecated_text);
//~^ ERROR use of deprecated function `lint_stability::deprecated_text`: text
}