mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
16 lines
361 B
Rust
16 lines
361 B
Rust
//@ aux-build:lint_output_format.rs
|
|
|
|
#![feature(unstable_test_feature)]
|
|
//@ check-pass
|
|
|
|
extern crate lint_output_format;
|
|
use lint_output_format::{foo, bar};
|
|
//~^ WARNING use of deprecated function `lint_output_format::foo`: text
|
|
|
|
|
|
fn main() {
|
|
let _x = foo();
|
|
//~^ WARNING use of deprecated function `lint_output_format::foo`: text
|
|
let _y = bar();
|
|
}
|