Auto merge of #3737 - phansch:2018, r=phansch

Transition leftover test libs to Rust 2018

To tick off some checkboxes in https://github.com/rust-lang/rust/issues/58099 =)
This commit is contained in:
bors 2019-02-03 15:24:54 +00:00
commit 69a7f03185
4 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,7 @@
[package]
name = "clippy_workspace_tests"
version = "0.1.0"
edition = "2018"
[workspace]
members = ["subcrate"]

View File

@ -1,2 +1,4 @@
#![deny(rust_2018_idioms)]
fn main() {
}

View File

@ -11,6 +11,7 @@ authors = [
license = "MPL-2.0"
description = "A macro to test clippy's procedural macro checks"
repository = "https://github.com/rust-lang/rust-clippy"
edition = "2018"
[lib]
name = "clippy_mini_macro_test"

View File

@ -1,4 +1,5 @@
#![feature(proc_macro_quote, proc_macro_hygiene)]
#![deny(rust_2018_idioms)]
extern crate proc_macro;
use proc_macro::{TokenStream, quote};