Rustup to rustc 1.38.0-nightly (e3cebcb3b
2019-07-19)
This commit is contained in:
parent
2c9139d51e
commit
94effb972f
3 changed files with 8 additions and 3 deletions
|
@ -18,3 +18,7 @@ compiler_builtins = { path = "./compiler_builtins" }
|
|||
|
||||
[profile.release]
|
||||
debug = true
|
||||
|
||||
[profile.dev]
|
||||
# FIXME correctly align constants, so that copy_nonoverlapping doesn't complain about alignment
|
||||
debug-assertions = false
|
||||
|
|
|
@ -18,7 +18,7 @@ index f2165c6..cdb42c1 100644
|
|||
|
||||
+/*
|
||||
// Pull in the `core_arch` crate directly into libcore. The contents of
|
||||
// `core_arch` are in a different repository: rust-lang-nursery/stdsimd.
|
||||
// `core_arch` are in a different repository: rust-lang/stdarch.
|
||||
//
|
||||
@@ -235,3 +236,4 @@ mod core_arch;
|
||||
|
||||
|
@ -53,7 +53,7 @@ index 6dd3a6c..c7401e2 100644
|
|||
|
||||
+/*
|
||||
// Pull in the `std_detect` crate directly into libstd. The contents of
|
||||
// `std_detect` are in a different repository: rust-lang-nursery/stdsimd.
|
||||
// `std_detect` are in a different repository: rust-lang/stdarch.
|
||||
//
|
||||
@@ -505,6 +502,7 @@ mod std_detect;
|
||||
#[unstable(feature = "stdsimd", issue = "48556")]
|
||||
|
|
|
@ -14,7 +14,8 @@ pub fn unsized_info<'a, 'tcx: 'a>(
|
|||
target: Ty<'tcx>,
|
||||
old_info: Option<Value>,
|
||||
) -> Value {
|
||||
let (source, target) = fx.tcx.struct_lockstep_tails(source, target);
|
||||
let (source, target) =
|
||||
fx.tcx.struct_lockstep_tails_erasing_lifetimes(source, target, ParamEnv::reveal_all());
|
||||
match (&source.sty, &target.sty) {
|
||||
(&ty::Array(_, len), &ty::Slice(_)) => fx
|
||||
.bcx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue