Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
8afe598
Add big-endian support for AArch64 va_arg
Jan 20, 2021
d53b0a0
Fix ARM and AArch64 calling convention for passing small composite types
Jan 20, 2021
06f14df
Support AArch64 ILP32 in libunwind bindings
Jan 20, 2021
a112c4d
Support AArch64 big-endian and ILP32 in compiletest
Jan 20, 2021
8783d1a
Add big-endian and ILP32 AArch64 targets
Jan 20, 2021
69e6326
Add new aarch64 targets to platform-support.md
Jan 26, 2021
5307230
Bump LLVM submodule
Jan 21, 2021
4b64bc1
Upgrade Chalk
jackh726 Jan 1, 2021
b35d601
Directly use `Option<&[T]>` instead of converting from `Option<&Vec<T…
LingMan Feb 1, 2021
6f90365
Add lint for `panic!(123)` which is not accepted in Rust 2021.
m-ou-se Feb 1, 2021
91a9866
Make panic/assert calls in rustc compatible with Rust 2021.
m-ou-se Feb 1, 2021
c3dedd0
Upgrade libc to 0.2.85
Jan 21, 2021
3408c58
Fix AArch64 types in std::os::raw
Amanieu Feb 1, 2021
bad0f28
Improve wording of suggestion about accessing field
hkmatsumoto Feb 2, 2021
535f487
Allow/fix non_fmt_panic in tests.
m-ou-se Feb 1, 2021
717355d
Update panic!() documentation about non-string panics.
m-ou-se Feb 2, 2021
07c4eeb
Fix out of date `Scalar` documentation
jacob-hughes Feb 2, 2021
6525671
Add better diagnostic for missing where clause
JulianKnodt Jan 30, 2021
ae3164e
Add .editorconfig
vn971 Jan 22, 2021
a0622d6
Update Chalk
jackh726 Jan 31, 2021
9cbd231
Rollup merge of #80593 - jackh726:chalk-upgrade, r=nikomatsakis
m-ou-se Feb 2, 2021
aed63da
Rollup merge of #81260 - vn971:restore-editorconfig, r=Mark-Simulacrum
m-ou-se Feb 2, 2021
a262bc1
Rollup merge of #81455 - Amanieu:aarch64_ilp32, r=sanxiyn
m-ou-se Feb 2, 2021
7fa357d
Rollup merge of #81544 - JulianKnodt:sat_where, r=lcnr
m-ou-se Feb 2, 2021
2a41f20
Rollup merge of #81636 - LingMan:slice_not_vec, r=petrochenkov
m-ou-se Feb 2, 2021
132f55c
Rollup merge of #81645 - m-ou-se:panic-lint, r=estebank
m-ou-se Feb 2, 2021
0513708
Rollup merge of #81655 - matsujika:suggest-accessing-field-rewording,…
m-ou-se Feb 2, 2021
ddf8dc7
Rollup merge of #81665 - jacob-hughes:mir_doc_fix, r=estebank
m-ou-se Feb 2, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Directly use Option<&[T]> instead of converting from `Option<&Vec<T…
…>>` later on
  • Loading branch information
LingMan committed Feb 1, 2021
commit b35d601ab7dfe5500508a78fc9fe68db49c0e563
4 changes: 2 additions & 2 deletions compiler/rustc_resolve/src/late/lifetimes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2422,7 +2422,7 @@ impl<'a, 'tcx> LifetimeContext<'a, 'tcx> {
_ => break,
}
}
break Some(e);
break Some(&e[..]);
}
Elide::Forbid => break None,
};
Expand Down Expand Up @@ -2452,7 +2452,7 @@ impl<'a, 'tcx> LifetimeContext<'a, 'tcx> {
lifetime_refs.len(),
&lifetime_names,
lifetime_spans,
error.map(|p| &p[..]).unwrap_or(&[]),
error.unwrap_or(&[]),
);
err.emit();
}
Expand Down