Skip to content

Convert all crates to 2018 edition #1109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/assert-instr-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "assert-instr-macro"
version = "0.1.0"
authors = ["Alex Crichton <[email protected]>"]
edition = "2018"

[lib]
proc-macro = true
Expand Down
3 changes: 0 additions & 3 deletions crates/assert-instr-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@
//! function itself contains the relevant instruction.
#![deny(rust_2018_idioms)]

extern crate proc_macro;
extern crate proc_macro2;
#[macro_use]
extern crate quote;
extern crate syn;

use proc_macro2::TokenStream;
use quote::ToTokens;
Expand Down
1 change: 1 addition & 0 deletions crates/simd-test-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "simd-test-macro"
version = "0.1.0"
authors = ["Alex Crichton <[email protected]>"]
edition = "2018"

[lib]
proc-macro = true
Expand Down
2 changes: 0 additions & 2 deletions crates/simd-test-macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
//! for the appropriate cfg before calling the inner test function.
#![deny(rust_2018_idioms)]

extern crate proc_macro;
extern crate proc_macro2;
#[macro_use]
extern crate quote;

Expand Down
1 change: 1 addition & 0 deletions crates/stdarch-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "stdarch-test"
version = "0.1.0"
authors = ["Alex Crichton <[email protected]>"]
edition = "2018"

[dependencies]
assert-instr-macro = { path = "../assert-instr-macro" }
Expand Down
4 changes: 1 addition & 3 deletions crates/stdarch-test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
#![deny(rust_2018_idioms)]
#![allow(clippy::missing_docs_in_private_items, clippy::print_stdout)]

extern crate assert_instr_macro;
#[macro_use]
extern crate lazy_static;
extern crate simd_test_macro;
#[macro_use]
extern crate cfg_if;

Expand All @@ -24,7 +22,7 @@ cfg_if! {
use wasm::disassemble_myself;
} else {
mod disassembly;
use disassembly::disassemble_myself;
use crate::disassembly::disassemble_myself;
}
}

Expand Down