Skip to content

Commit 6be7f85

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents f14ce23 + c9019c2 commit 6be7f85

File tree

7 files changed

+4
-15
lines changed

7 files changed

+4
-15
lines changed

crates/assert-instr-macro/Cargo.toml

Lines changed: 1 addition & 0 deletions
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

Lines changed: 0 additions & 3 deletions
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/core_arch/src/simd_llvm.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,12 @@ extern "platform-intrinsic" {
99
pub fn simd_gt<T, U>(x: T, y: T) -> U;
1010
pub fn simd_ge<T, U>(x: T, y: T) -> U;
1111

12-
#[rustc_args_required_const(2)]
1312
pub fn simd_shuffle2<T, U>(x: T, y: T, idx: [u32; 2]) -> U;
14-
#[rustc_args_required_const(2)]
1513
pub fn simd_shuffle4<T, U>(x: T, y: T, idx: [u32; 4]) -> U;
16-
#[rustc_args_required_const(2)]
1714
pub fn simd_shuffle8<T, U>(x: T, y: T, idx: [u32; 8]) -> U;
18-
#[rustc_args_required_const(2)]
1915
pub fn simd_shuffle16<T, U>(x: T, y: T, idx: [u32; 16]) -> U;
20-
#[rustc_args_required_const(2)]
2116
pub fn simd_shuffle32<T, U>(x: T, y: T, idx: [u32; 32]) -> U;
22-
#[rustc_args_required_const(2)]
2317
pub fn simd_shuffle64<T, U>(x: T, y: T, idx: [u32; 64]) -> U;
24-
#[rustc_args_required_const(2)]
2518
pub fn simd_shuffle128<T, U>(x: T, y: T, idx: [u32; 128]) -> U;
2619

2720
#[rustc_const_unstable(feature = "const_simd_insert", issue = "none")]

crates/simd-test-macro/Cargo.toml

Lines changed: 1 addition & 0 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 3 deletions
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)