<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/debuginfo/captured-fields-1.rs, branch 1.56.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.56.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.56.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2021-07-09T15:09:48+00:00</updated>
<entry>
<title>Store names of captured variables in `optimized_mir`</title>
<updated>2021-07-09T15:09:48+00:00</updated>
<author>
<name>lrh2000</name>
<email>lrh2000@pku.edu.cn</email>
</author>
<published>2021-05-15T11:01:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cda90f55419ce449f3a9db327465d9b2ae7dfce9'/>
<id>urn:sha1:cda90f55419ce449f3a9db327465d9b2ae7dfce9</id>
<content type='text'>
- Closures in external crates may get compiled in because of
  monomorphization. We should store names of captured variables
  in `optimized_mir`, so that they are written into the metadata
  file and we can use them to generate debuginfo.

- If there are breakpoints inside closures, the names of captured
  variables stored in `optimized_mir` can be used to print them.
  Now the name is more precise when disjoint fields are captured.
</content>
</entry>
</feed>
