Do not collect to vec for debug output
This commit is contained in:
parent
8e67180c52
commit
f0fddb1a89
2 changed files with 2 additions and 6 deletions
|
@ -132,11 +132,7 @@ pub fn resolve_interior<'a, 'tcx>(
|
||||||
// if a Sync generator contains an &'α T, we need to check whether &'α T: Sync),
|
// if a Sync generator contains an &'α T, we need to check whether &'α T: Sync),
|
||||||
// so knowledge of the exact relationships between them isn't particularly important.
|
// so knowledge of the exact relationships between them isn't particularly important.
|
||||||
|
|
||||||
debug!(
|
debug!("types in generator {:?}, span = {:?}", types, body.value.span);
|
||||||
"types in generator {:?}, span = {:?}",
|
|
||||||
types.iter().map(|t| (t.0).ty).collect::<Vec<_>>(),
|
|
||||||
body.value.span,
|
|
||||||
);
|
|
||||||
|
|
||||||
// Replace all regions inside the generator interior with late bound regions
|
// Replace all regions inside the generator interior with late bound regions
|
||||||
// Note that each region slot in the types gets a new fresh late bound region,
|
// Note that each region slot in the types gets a new fresh late bound region,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// compile-flags: -Z query-dep-graph
|
// compile-flags: -Z query-dep-graph
|
||||||
// edition:2018
|
// edition:2018
|
||||||
|
|
||||||
// Regression test for ICE related to `await`ing in a method. (#64964)
|
// Regression test for ICE related to `await`ing in a method + incr. comp. (#64964)
|
||||||
|
|
||||||
struct Body;
|
struct Body;
|
||||||
impl Body {
|
impl Body {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue