Skip to content

Commit 21509b8

Browse files
authored
Rollup merge of rust-lang#58256 - taiki-e:librustc_cratesio_shim-2018, r=Centril
librustc_cratesio_shim => 2018 Transitions `librustc_cratesio_shim` to Rust 2018; cc rust-lang#58099 r? @Centril
2 parents 8cbee1c + fed677e commit 21509b8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/librustc_cratesio_shim/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
authors = ["The Rust Project Developers"]
1616
name = "rustc_cratesio_shim"
1717
version = "0.0.0"
18+
edition = "2018"
1819

1920
[lib]
2021
crate-type = ["dylib"]

src/librustc_cratesio_shim/src/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![deny(rust_2018_idioms)]
2+
13
// See Cargo.toml for a comment explaining this crate.
24
#![allow(unused_extern_crates)]
35

0 commit comments

Comments
 (0)