Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30)

This commit is contained in:
Simon Sapin 2019-07-31 13:34:01 +02:00
parent 87e7e3d429
commit c38c964f1b
38 changed files with 118 additions and 109 deletions

View file

@ -2,7 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
#![feature(core_intrinsics)]
#![deny(unsafe_code)]
#[macro_use]

View file

@ -116,7 +116,7 @@ macro_rules! impl_from_pref {
panic!(
format!("Cannot convert {:?} to {:?}",
other,
unsafe { std::intrinsics::type_name::<$t>() }
std::any::type_name::<$t>()
)
);
}