Auto merge of #5739 - flip1995:rustup, r=flip1995
Rustup changelog: none r? @ghost
This commit is contained in:
commit
4cc2fa933b
6 changed files with 6 additions and 7 deletions
|
|
@ -891,7 +891,7 @@ pub fn type_is_unsafe_function<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, ty: Ty<'tcx
|
|||
}
|
||||
|
||||
pub fn is_copy<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, ty: Ty<'tcx>) -> bool {
|
||||
ty.is_copy_modulo_regions(cx.tcx, cx.param_env, DUMMY_SP)
|
||||
ty.is_copy_modulo_regions(cx.tcx.at(DUMMY_SP), cx.param_env)
|
||||
}
|
||||
|
||||
/// Checks if an expression is constructing a tuple-like enum variant or struct
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue