2014-07-20 22:27:59 -05:00
|
|
|
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
|
|
|
|
// file at the top-level directory of this distribution and at
|
|
|
|
// http://rust-lang.org/COPYRIGHT.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
|
|
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
|
|
// option. This file may not be copied, modified, or distributed
|
|
|
|
// except according to those terms.
|
|
|
|
|
2017-05-13 04:54:50 -05:00
|
|
|
// run-pass
|
2014-07-20 22:27:59 -05:00
|
|
|
// aux-build:lint_group_plugin_test.rs
|
|
|
|
// ignore-stage1
|
2014-12-31 22:43:46 -06:00
|
|
|
#![feature(plugin)]
|
2015-02-06 15:56:38 -06:00
|
|
|
#![plugin(lint_group_plugin_test)]
|
2016-08-22 18:51:37 -05:00
|
|
|
#![allow(dead_code)]
|
2014-07-20 22:27:59 -05:00
|
|
|
|
|
|
|
fn lintme() { } //~ WARNING item is named 'lintme'
|
|
|
|
fn pleaselintme() { } //~ WARNING item is named 'pleaselintme'
|
|
|
|
|
|
|
|
#[allow(lint_me)]
|
|
|
|
pub fn main() {
|
|
|
|
fn lintme() { }
|
|
|
|
|
|
|
|
fn pleaselintme() { }
|
|
|
|
}
|