Skip to content

Commit c9019c2

Browse files
authored
Convert all crates to 2018 edition (#1109)
1 parent 09d2a2c commit c9019c2

File tree

6 files changed

+4
-8
lines changed

6 files changed

+4
-8
lines changed

crates/assert-instr-macro/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "assert-instr-macro"
33
version = "0.1.0"
44
authors = ["Alex Crichton <[email protected]>"]
5+
edition = "2018"
56

67
[lib]
78
proc-macro = true

crates/assert-instr-macro/src/lib.rs

-3
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,8 @@
99
//! function itself contains the relevant instruction.
1010
#![deny(rust_2018_idioms)]
1111

12-
extern crate proc_macro;
13-
extern crate proc_macro2;
1412
#[macro_use]
1513
extern crate quote;
16-
extern crate syn;
1714

1815
use proc_macro2::TokenStream;
1916
use quote::ToTokens;

crates/simd-test-macro/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "simd-test-macro"
33
version = "0.1.0"
44
authors = ["Alex Crichton <[email protected]>"]
5+
edition = "2018"
56

67
[lib]
78
proc-macro = true

crates/simd-test-macro/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
//! for the appropriate cfg before calling the inner test function.
55
#![deny(rust_2018_idioms)]
66

7-
extern crate proc_macro;
8-
extern crate proc_macro2;
97
#[macro_use]
108
extern crate quote;
119

crates/stdarch-test/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "stdarch-test"
33
version = "0.1.0"
44
authors = ["Alex Crichton <[email protected]>"]
5+
edition = "2018"
56

67
[dependencies]
78
assert-instr-macro = { path = "../assert-instr-macro" }

crates/stdarch-test/src/lib.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
#![deny(rust_2018_idioms)]
88
#![allow(clippy::missing_docs_in_private_items, clippy::print_stdout)]
99

10-
extern crate assert_instr_macro;
1110
#[macro_use]
1211
extern crate lazy_static;
13-
extern crate simd_test_macro;
1412
#[macro_use]
1513
extern crate cfg_if;
1614

@@ -24,7 +22,7 @@ cfg_if! {
2422
use wasm::disassemble_myself;
2523
} else {
2624
mod disassembly;
27-
use disassembly::disassemble_myself;
25+
use crate::disassembly::disassemble_myself;
2826
}
2927
}
3028

0 commit comments

Comments
 (0)