Skip to content

Commit

Permalink
Transition leftover test libs to Rust 2018
Browse files Browse the repository at this point in the history
  • Loading branch information
phansch committed Feb 3, 2019
1 parent 273b7f7 commit 64ff659
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions clippy_workspace_tests/Cargo.toml
@@ -1,6 +1,7 @@
[package]
name = "clippy_workspace_tests"
version = "0.1.0"
edition = "2018"

[workspace]
members = ["subcrate"]
2 changes: 2 additions & 0 deletions clippy_workspace_tests/src/main.rs
@@ -1,2 +1,4 @@
#![deny(rust_2018_idioms)]

fn main() {
}
1 change: 1 addition & 0 deletions mini-macro/Cargo.toml
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions mini-macro/src/lib.rs
@@ -1,4 +1,5 @@
#![feature(proc_macro_quote, proc_macro_hygiene)]
#![deny(rust_2018_idioms)]
extern crate proc_macro;

use proc_macro::{TokenStream, quote};
Expand Down

0 comments on commit 64ff659

Please sign in to comment.