<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/variance/variance-associated-consts.stderr, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-08-23T23:00:45+00:00</updated>
<entry>
<title>Print the generic parameter along with the variance in dumps.</title>
<updated>2024-08-23T23:00:45+00:00</updated>
<author>
<name>Camille GILLOT</name>
<email>gillot.camille@gmail.com</email>
</author>
<published>2024-08-22T21:07:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=5cef88c1f492beff80d6694b118ea7526c135185'/>
<id>urn:sha1:5cef88c1f492beff80d6694b118ea7526c135185</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Provide structured suggestion for unconstrained generic constant</title>
<updated>2024-03-21T00:03:59+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-03-21T00:03:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6b24fdf8113d5f422bfaeff7071d8251a13468b1'/>
<id>urn:sha1:6b24fdf8113d5f422bfaeff7071d8251a13468b1</id>
<content type='text'>
```
error: unconstrained generic constant
  --&gt; $DIR/const-argument-if-length.rs:18:10
   |
LL |     pad: [u8; is_zst::&lt;T&gt;()],
   |          ^^^^^^^^^^^^^^^^^^^
   |
help: try adding a `where` bound
   |
LL | pub struct AtLeastByte&lt;T: ?Sized&gt; where [(); is_zst::&lt;T&gt;()]: {
   |                                   ++++++++++++++++++++++++++
```

Detect when the constant expression isn't `usize` and suggest casting:

```
error: unconstrained generic constant
 --&gt; f300.rs:6:10
  |
6 |     bb::&lt;{!N}&gt;();
  |          ^^^^
-Ztrack-diagnostics: created at compiler/rustc_trait_selection/src/traits/error_reporting/type_err_ctxt_ext.rs:3539:36
  |
help: try adding a `where` bound
  |
5 | fn b&lt;const N: bool&gt;() where [(); {!N} as usize]: {
  |                       ++++++++++++++++++++++++++
```

Fix #122395.
</content>
</entry>
<entry>
<title>Revert "Auto merge of #122140 - oli-obk:track_errors13, r=davidtwco"</title>
<updated>2024-03-11T21:28:16+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-03-11T21:28:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=96d24f2dd13e8e9d0c6f9912781ffe1fc79864d3'/>
<id>urn:sha1:96d24f2dd13e8e9d0c6f9912781ffe1fc79864d3</id>
<content type='text'>
This reverts commit 65cd843ae06ad00123c131a431ed5304e4cd577a, reversing
changes made to d255c6a57c393db6221b1ff700daea478436f1cd.
</content>
</entry>
<entry>
<title>Merge various rustc_attr based tests</title>
<updated>2024-03-11T08:48:03+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-03-07T14:10:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e2e751e76d0242102ef1095b185850f4239fa5ab'/>
<id>urn:sha1:e2e751e76d0242102ef1095b185850f4239fa5ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge `check_mod_impl_wf` and `check_mod_type_wf`</title>
<updated>2024-03-07T06:27:09+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2024-02-15T17:12:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8206cffc48b77886e18ecdf22e8762aaaa792eec'/>
<id>urn:sha1:8206cffc48b77886e18ecdf22e8762aaaa792eec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Show number in error message even for one error</title>
<updated>2023-11-24T18:15:52+00:00</updated>
<author>
<name>Nilstrieb</name>
<email>48135649+Nilstrieb@users.noreply.github.com</email>
</author>
<published>2023-11-21T15:44:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=41e8d152dc5abb5a706999ada8b059d3420af8f3'/>
<id>urn:sha1:41e8d152dc5abb5a706999ada8b059d3420af8f3</id>
<content type='text'>
Co-authored-by: Adrian &lt;adrian.iosdev@gmail.com&gt;
</content>
</entry>
<entry>
<title>remove error code from `#[rustc_variance]` and document its remains</title>
<updated>2023-01-18T08:10:27+00:00</updated>
<author>
<name>Ezra Shaw</name>
<email>ezrasure@outlook.com</email>
</author>
<published>2023-01-16T10:30:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=708861e5b77d2600da523dc817bc831f7d7d7733'/>
<id>urn:sha1:708861e5b77d2600da523dc817bc831f7d7d7733</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move /src/test to /tests</title>
<updated>2023-01-11T09:32:08+00:00</updated>
<author>
<name>Albert Larsan</name>
<email>74931857+albertlarsan68@users.noreply.github.com</email>
</author>
<published>2023-01-05T08:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cf2dff2b1e3fa55fa5415d524200070d0d7aacfe'/>
<id>urn:sha1:cf2dff2b1e3fa55fa5415d524200070d0d7aacfe</id>
<content type='text'>
</content>
</entry>
</feed>
