Skip to content

Commit 64ff659

Browse files
committed
Transition leftover test libs to Rust 2018
1 parent 273b7f7 commit 64ff659

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

clippy_workspace_tests/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[package]
22
name = "clippy_workspace_tests"
33
version = "0.1.0"
4+
edition = "2018"
45

56
[workspace]
67
members = ["subcrate"]

clippy_workspace_tests/src/main.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
#![deny(rust_2018_idioms)]
2+
13
fn main() {
24
}

mini-macro/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ authors = [
1111
license = "MPL-2.0"
1212
description = "A macro to test clippy's procedural macro checks"
1313
repository = "https://github.com/rust-lang/rust-clippy"
14+
edition = "2018"
1415

1516
[lib]
1617
name = "clippy_mini_macro_test"

mini-macro/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![feature(proc_macro_quote, proc_macro_hygiene)]
2+
#![deny(rust_2018_idioms)]
23
extern crate proc_macro;
34

45
use proc_macro::{TokenStream, quote};

0 commit comments

Comments
 (0)