about summary refs log tree commit diff
path: root/src/bootstrap/cache.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-12 12:50:13 +0000
committerbors <bors@rust-lang.org>2018-07-12 12:50:13 +0000
commit7db82ccd765cbfe55c3d8a2c434bc6f9b986843d (patch)
tree41bda55edea65f5ef3f02b198ce2984b97e666e2 /src/bootstrap/cache.rs
parentd334027c58060449cc45b8e5cc37dd51ca077d30 (diff)
parenta7c2c68b135b40666bda030315007c29ce197901 (diff)
downloadrust-7db82ccd765cbfe55c3d8a2c434bc6f9b986843d.tar.gz
rust-7db82ccd765cbfe55c3d8a2c434bc6f9b986843d.zip
Auto merge of #52303 - kennytm:rollup, r=kennytm
Rollup of 9 pull requests

Successful merges:

 - #51816 (bootstrap: write texts to a .tmp file first for atomicity)
 - #51912 (impl Clone for Box<CStr>, Box<OsStr>, Box<Path>)
 - #52164 (use proper footnote syntax for references)
 - #52220 (Deny bare trait objects in `src/bootstrap`)
 - #52276 (rustc: Verify #[proc_macro] is only a word)
 - #52277 (Uncapitalize "If")
 - #52287 (Deny bare trait objects in src/librustc_resolve)
 - #52295 (Deny bare trait objects in src/libsyntax_ext)
 - #52298 (make reference to dirs crate clickable in terminals)

Failed merges:

r? @ghost
Diffstat (limited to 'src/bootstrap/cache.rs')
-rw-r--r--src/bootstrap/cache.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/cache.rs b/src/bootstrap/cache.rs
index d81c6bc28e5..bca5ff85ba2 100644
--- a/src/bootstrap/cache.rs
+++ b/src/bootstrap/cache.rs
@@ -249,7 +249,7 @@ lazy_static! {
 pub struct Cache(
     RefCell<HashMap<
         TypeId,
-        Box<Any>, // actually a HashMap<Step, Interned<Step::Output>>
+        Box<dyn Any>, // actually a HashMap<Step, Interned<Step::Output>>
     >>
 );