Pacify tidy.
This commit is contained in:
parent
65c3c90f3e
commit
de110f9208
3 changed files with 8 additions and 8 deletions
|
@ -110,8 +110,8 @@ where
|
|||
for component in components {
|
||||
match *component.kind() {
|
||||
// The information required to determine whether a generator has drop is
|
||||
// computed on MIR, while this very method is used to build MIR. To avoid
|
||||
// cycles, we consider that generators always require drop.
|
||||
// computed on MIR, while this very method is used to build MIR.
|
||||
// To avoid cycles, we consider that generators always require drop.
|
||||
ty::Generator(..) if tcx.sess.opts.unstable_opts.drop_tracking_mir => {
|
||||
return Some(Err(AlwaysRequiresDrop));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue