<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/ui/nll/user-annotations/patterns.stderr, branch 1.34.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.34.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.34.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-01-18T02:39:06+00:00</updated>
<entry>
<title>Update tests</title>
<updated>2019-01-18T02:39:06+00:00</updated>
<author>
<name>Mark Mansi</name>
<email>markm@cs.wisc.edu</email>
</author>
<published>2018-12-11T21:49:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=274d293cab4ec3d994d9f84192464168e971ea56'/>
<id>urn:sha1:274d293cab4ec3d994d9f84192464168e971ea56</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add test for normalization during field-lookup on patterns with ascribed types.</title>
<updated>2018-10-26T21:47:53+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2018-10-25T13:45:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=92cbe4772a1c195eab16ce4cf51eff36fddf0dd5'/>
<id>urn:sha1:92cbe4772a1c195eab16ce4cf51eff36fddf0dd5</id>
<content type='text'>
As a drive-by, also added test analogous to existing
static_to_a_to_static_through_tuple, but now apply to a struct instead
of a tuple.
</content>
</entry>
<entry>
<title>Add the actual chain of projections to `UserTypeProjection`.</title>
<updated>2018-10-26T21:47:52+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2018-10-22T20:50:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=740e8a3f37f224927269bf7b205b16142d91bf0f'/>
<id>urn:sha1:740e8a3f37f224927269bf7b205b16142d91bf0f</id>
<content type='text'>
Update the existing NLL `patterns.rs` test accordingly.

includes changes addressing review feedback:

 * Added example to docs for `UserTypeProjections` illustrating how we
   build up multiple projections when descending into a pattern with
   type ascriptions.

 * Adapted niko's suggested docs for `UserTypeProjection`.

 * Factored out `projection_ty` from more general `projection_ty_core`
   (as a drive-by, made its callback an `FnMut`, as I discovered later
   that I need that).

 * Add note to docs that `PlaceTy.field_ty(..)` does not normalize its result.

 * Normalize as we project out `field_ty`.
</content>
</entry>
<entry>
<title>Use new region infer errors for explaining borrows</title>
<updated>2018-10-21T11:35:00+00:00</updated>
<author>
<name>Matthew Jasper</name>
<email>mjjasper1@gmail.com</email>
</author>
<published>2018-10-14T14:12:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a3969a3f70779790fd8de1f1602441b5078566b'/>
<id>urn:sha1:2a3969a3f70779790fd8de1f1602441b5078566b</id>
<content type='text'>
This gives at least some explanation for why a borrow is expected to
last for a certain free region. Also:

* Reports E0373: "closure may outlive the current function" with NLL.
* Special cases the case of returning a reference to (or value
  referencing) a local variable or temporary (E0515).
* Special case assigning a reference to a local variable in a closure
  to a captured variable.
</content>
</entry>
<entry>
<title>Use the span of the user type for `AscribeUserType`</title>
<updated>2018-10-10T10:56:16+00:00</updated>
<author>
<name>Matthew Jasper</name>
<email>mjjasper1@gmail.com</email>
</author>
<published>2018-10-09T21:59:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=55ec10431318bb6b4ed0a01744c93a683918d592'/>
<id>urn:sha1:55ec10431318bb6b4ed0a01744c93a683918d592</id>
<content type='text'>
Also change the order of the fake read for let and the AscribeUserType,
so that we use the better span and message from the fake read in errors.
</content>
</entry>
<entry>
<title>Change the diagnostic number from 714 to 716.</title>
<updated>2018-09-25T14:23:57+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2018-09-25T14:06:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ea4d934c32e49bdcf7578e1bb147ce5f62ac5d38'/>
<id>urn:sha1:ea4d934c32e49bdcf7578e1bb147ce5f62ac5d38</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add "temporary value dropped while borrowed" error</title>
<updated>2018-09-25T14:23:56+00:00</updated>
<author>
<name>Mikhail Modin</name>
<email>mikhailm1@gmail.com</email>
</author>
<published>2018-09-23T15:30:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5fc0b743d752f57d39cbd7ff10450211affe79a0'/>
<id>urn:sha1:5fc0b743d752f57d39cbd7ff10450211affe79a0</id>
<content type='text'>
Issue #54131
</content>
</entry>
<entry>
<title>Update ui tests</title>
<updated>2018-09-19T19:50:09+00:00</updated>
<author>
<name>Matthew Jasper</name>
<email>mjjasper1@gmail.com</email>
</author>
<published>2018-09-15T17:30:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bd0895d7d011cc4c6bef4f95e6df64d2fee6ff73'/>
<id>urn:sha1:bd0895d7d011cc4c6bef4f95e6df64d2fee6ff73</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add FIXME related to `ref x` bindings</title>
<updated>2018-09-10T18:12:20+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2018-09-10T18:06:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=df37678b768a6329e6aa418e59bfe07d32580ca5'/>
<id>urn:sha1:df37678b768a6329e6aa418e59bfe07d32580ca5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>propagate user-ascribes types down onto resulting bindings</title>
<updated>2018-09-10T14:58:31+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2018-09-10T14:54:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e87bf30f5f9f42994ac646ec9b3d884833fe73be'/>
<id>urn:sha1:e87bf30f5f9f42994ac646ec9b3d884833fe73be</id>
<content type='text'>
But only in very simple cases.
</content>
</entry>
</feed>
