2024-02-16 20:02:50 +00:00
|
|
|
//@ compile-flags: -F unused_features
|
|
|
|
//@ aux-build:lint_output_format.rs
|
2013-10-09 01:26:09 +00:00
|
|
|
|
2016-11-10 17:08:21 +00:00
|
|
|
#![allow(deprecated)]
|
2015-01-16 22:08:24 +00:00
|
|
|
|
2015-03-06 02:33:58 +00:00
|
|
|
extern crate lint_output_format; //~ ERROR use of unstable library feature
|
2015-09-12 13:10:12 +00:00
|
|
|
use lint_output_format::{foo, bar}; //~ ERROR use of unstable library feature
|
2022-07-15 17:22:36 +00:00
|
|
|
//~| ERROR use of unstable library feature
|
2013-10-09 01:26:09 +00:00
|
|
|
|
|
|
|
fn main() {
|
2016-11-10 17:08:21 +00:00
|
|
|
let _x = foo();
|
2015-03-06 02:33:58 +00:00
|
|
|
let _y = bar(); //~ ERROR use of unstable library feature
|
2013-10-09 01:26:09 +00:00
|
|
|
}
|