Transition leftover test libs to Rust 2018

This commit is contained in:
Philipp Hansch 2019-02-03 14:47:03 +01:00
parent 273b7f7f46
commit 64ff65990f
No known key found for this signature in database
GPG Key ID: B6FA06A6E0E2665B
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};