<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test, branch 1.84.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.84.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.84.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2023-01-11T09:32:08+00:00</updated>
<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>
<entry>
<title>Rollup merge of #106690 - GuillaumeGomez:item-declaration-scrolling, r=notriddle</title>
<updated>2023-01-11T05:18:58+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev+love@gmail.com</email>
</author>
<published>2023-01-11T05:18:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8248f1d50a32c7b8b764f5a56e9a487ddeb924f1'/>
<id>urn:sha1:8248f1d50a32c7b8b764f5a56e9a487ddeb924f1</id>
<content type='text'>
Fix scrolling for item declaration block

Fixes https://github.com/rust-lang/rust/issues/105580.

The `contain: layout` was the issue here and the bug was actually on both mobile and desktop.

r? `@notriddle`
</content>
</entry>
<entry>
<title>Rollup merge of #106653 - ehuss:allow-features-help, r=nilstrieb</title>
<updated>2023-01-11T05:18:55+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev+love@gmail.com</email>
</author>
<published>2023-01-11T05:18:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8f57062970241bb1ef3c9aa2de1134f4baa5f37f'/>
<id>urn:sha1:8f57062970241bb1ef3c9aa2de1134f4baa5f37f</id>
<content type='text'>
Fix help docs for -Zallow-features

The arguments for -Zallow-features are comma-separated (`parse_opt_comma_list`), not space separated (`parse_list`).
</content>
</entry>
<entry>
<title>Rollup merge of #106645 - c410-f3r:rfc-2397-1, r=oli-obk</title>
<updated>2023-01-11T05:18:55+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev+love@gmail.com</email>
</author>
<published>2023-01-11T05:18:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e078d8271182c0923c671a05d43d2b6e9d8d6e42'/>
<id>urn:sha1:e078d8271182c0923c671a05d43d2b6e9d8d6e42</id>
<content type='text'>
[RFC 2397] Initial implementation

cc #51992

Because of previous experiences where ppl didn't have the time to review large PRs (or any at all), the implementation of this feature will be delivered in small chunks to hopefully make things faster.

In this initial PR, only the attribute is being declared and gated with ordinary tests.
</content>
</entry>
<entry>
<title>Rollup merge of #106642 - albertlarsan68:test-106062, r=JohnTitor</title>
<updated>2023-01-11T05:18:54+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev+love@gmail.com</email>
</author>
<published>2023-01-11T05:18:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f547c4b33a87fb167fe9314bd225304e00268fce'/>
<id>urn:sha1:f547c4b33a87fb167fe9314bd225304e00268fce</id>
<content type='text'>
Add test for #106062

Add a regression test for #106062

Closes #106062
</content>
</entry>
<entry>
<title>Rollup merge of #106521 - oskgo:remove-E0280, r=jackh726</title>
<updated>2023-01-11T05:18:53+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev+love@gmail.com</email>
</author>
<published>2023-01-11T05:18:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=12b124283cd51389afe59904e29f8ad7325c1dc0'/>
<id>urn:sha1:12b124283cd51389afe59904e29f8ad7325c1dc0</id>
<content type='text'>
remove E0280

After looking at #61137 I tried my hand at E0280. I'm unable to find a reasonable example that emits the error. There are a couple of old examples that compile with the current compiler ([#26217](https://github.com/rust-lang/rust/issues/26217), [#42114](https://github.com/rust-lang/rust/issues/42114), [#27113](https://github.com/rust-lang/rust/issues/27113)) and there is a [bug with chalk](https://github.com/rust-lang/rust/blob/b7cdb635c4b973572307ad288466fba64533369c/src/test/ui/chalkify/bugs/async.rs) that makes it emit the error, with a couple more chalk bugs on zulip.

It seems like the error is supposed to be emitted from unfulfilled where bounds, of which two are related to borrow checking (error in where T: 'a or where 'a: 'b) and thus tend to emit errors like "lifetime may not live long enough" from borrow checking instead. The final case is with type equality constraints (where &lt;T as Iterator&gt;::Item == u32), which is unimplemented ([#20041](https://github.com/rust-lang/rust/issues/20041)). That such different problems are supposed to have the same error code also seems strange to me.

Since the error seems to only be emitted when using chalk I propose to remove it and replace it with an ICE instead. A crater run might be warranted.

Pinging `@jackh726` due to removal of chalk test that now ICEs.
</content>
</entry>
<entry>
<title>Add GUI test for item declaration block scrolling</title>
<updated>2023-01-10T17:27:42+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2023-01-10T17:27:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=719f54583146de66d42396290df3293e27bd861f'/>
<id>urn:sha1:719f54583146de66d42396290df3293e27bd861f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Auto merge of #106607 - compiler-errors:be-more-accurate-abt-method-suggestions, r=oli-obk</title>
<updated>2023-01-10T06:22:01+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-01-10T06:22:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0442fbabe24ec43636a80ad1f40a0ad92a2e38df'/>
<id>urn:sha1:0442fbabe24ec43636a80ad1f40a0ad92a2e38df</id>
<content type='text'>
Consider return type when giving various method suggestions

1. Fix a bug in method probe where we weren't normalizing `xform_ret_ty` for non-`impl` method candidates. This shouldn't affect happy-path code, since we only use `xform_ret_ty` when probing methods for diagnostics (I think).
2. Pass the return type expectation down to `lookup_probe`/`probe_for_name` usages in diagnostics. Added a few UI tests to gate against bad suggestions.
3. Make a `FnCtxt::lookup_probe_for_diagnostic` which properly passes down `IsSuggestion(true)`. Should help suppress other weird notes in some corner cases.
</content>
</entry>
<entry>
<title>Auto merge of #106656 - JohnTitor:rollup-rk2qltg, r=JohnTitor</title>
<updated>2023-01-10T03:26:29+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2023-01-10T03:26:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=deba5ddd0776108c51a69844d0ffe3f96886dd52'/>
<id>urn:sha1:deba5ddd0776108c51a69844d0ffe3f96886dd52</id>
<content type='text'>
Rollup of 9 pull requests

Successful merges:

 - #105034 (Add example for iterator_flatten)
 - #105708 (Enable atomic cas for bpf targets)
 - #106175 (Fix bad import suggestion with nested `use` tree)
 - #106204 (No need to take opaques in `check_type_bounds`)
 - #106387 (Revert "bootstrap: Get rid of `tail_args` in `stream_cargo`")
 - #106636 (Accept old spelling of Fuchsia target triples)
 - #106639 (update Miri)
 - #106640 (update test for inductive canonical cycles)
 - #106647 (rustdoc: merge common CSS for `a`)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
</content>
</entry>
<entry>
<title>remove E0280 and ICE instead</title>
<updated>2023-01-10T02:04:28+00:00</updated>
<author>
<name>bowlerman</name>
<email>oskar@goldhahn.info</email>
</author>
<published>2023-01-06T01:29:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f75eb24f4f397594604da304b3a1f7f11e1bea49'/>
<id>urn:sha1:f75eb24f4f397594604da304b3a1f7f11e1bea49</id>
<content type='text'>
</content>
</entry>
</feed>
