<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/pretty, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-08-14T18:33:43+00:00</updated>
<entry>
<title>Update autodiff tests for the new intrinsics impl</title>
<updated>2025-08-14T18:33:43+00:00</updated>
<author>
<name>Marcelo Domínguez</name>
<email>dmmarcelo27@gmail.com</email>
</author>
<published>2025-08-14T15:42:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cdd4118204e48227fae6a09321b77c7c4a39a186'/>
<id>urn:sha1:cdd4118204e48227fae6a09321b77c7c4a39a186</id>
<content type='text'>
</content>
</entry>
<entry>
<title>expand: Micro-optimize prelude injection</title>
<updated>2025-07-28T14:35:09+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2025-07-28T14:24:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c56f49dc34f43568122f057d72f3472b3fcd4d8e'/>
<id>urn:sha1:c56f49dc34f43568122f057d72f3472b3fcd4d8e</id>
<content type='text'>
Use `splice` to avoid shifting the other items twice.
Put `extern crate std;` first so it's already resolved when we resolve `::std::prelude::rust_20XX`.

</content>
</entry>
<entry>
<title>Update uitest stderrs</title>
<updated>2025-07-23T11:33:23+00:00</updated>
<author>
<name>Jonathan Brouwer</name>
<email>jonathantbrouwer@gmail.com</email>
</author>
<published>2025-07-12T15:34:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3303534dc8825258f8a5d3a1b1e4572d55cccd9a'/>
<id>urn:sha1:3303534dc8825258f8a5d3a1b1e4572d55cccd9a</id>
<content type='text'>
Signed-off-by: Jonathan Brouwer &lt;jonathantbrouwer@gmail.com&gt;
</content>
</entry>
<entry>
<title>Rewrite empty attribute lint</title>
<updated>2025-07-06T07:51:35+00:00</updated>
<author>
<name>Jonathan Brouwer</name>
<email>jonathantbrouwer@gmail.com</email>
</author>
<published>2025-07-04T10:42:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3fa0ec91d8f3f14f9514d45d93e6fb7fdf1ad89e'/>
<id>urn:sha1:3fa0ec91d8f3f14f9514d45d93e6fb7fdf1ad89e</id>
<content type='text'>
Signed-off-by: Jonathan Brouwer &lt;jonathantbrouwer@gmail.com&gt;
</content>
</entry>
<entry>
<title>Move the place in `&amp;pin mut $place` when `!Unpin` to ensure soundness</title>
<updated>2025-06-15T02:31:11+00:00</updated>
<author>
<name>Frank King</name>
<email>frankking1729@gmail.com</email>
</author>
<published>2025-04-04T04:15:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=afdb54a673243c83660417b540af888f7690f0fb'/>
<id>urn:sha1:afdb54a673243c83660417b540af888f7690f0fb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement pinned borrows, part of `pin_ergonomics`</title>
<updated>2025-06-15T02:21:29+00:00</updated>
<author>
<name>Frank King</name>
<email>frankking1729@gmail.com</email>
</author>
<published>2025-01-19T14:01:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e627f88f88de85cc52ff1c99a076909084806c98'/>
<id>urn:sha1:e627f88f88de85cc52ff1c99a076909084806c98</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #134847 - dtolnay:asymmetrical, r=fmease</title>
<updated>2025-06-13T03:16:54+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-06-13T03:16:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b12bb2530b12fedd93a2a54b806a4f8dc2e199c4'/>
<id>urn:sha1:b12bb2530b12fedd93a2a54b806a4f8dc2e199c4</id>
<content type='text'>
Implement asymmetrical precedence for closures and jumps

I have been through a series of asymmetrical precedence designs in Syn, and finally have one that I like and is worth backporting into rustc. It is based on just 2 bits of state: `next_operator_can_begin_expr` and `next_operator_can_continue_expr`.

Asymmetrical precedence is the thing that enables `(return 1) + 1` to require parentheses while `1 + return 1` does not, despite `+` always having stronger precedence than `return` [according to the Rust Reference](https://doc.rust-lang.org/1.83.0/reference/expressions.html#expression-precedence). This is facilitated by `next_operator_can_continue_expr`.

Relatedly, it is the thing that enables `(return) - 1` to require parentheses while `return + 1` does not, despite `+` and `-` having exactly the same precedence. This is facilitated by `next_operator_can_begin_expr`.

**Example:**

```rust
macro_rules! repro {
    ($e:expr) =&gt; {
        $e - $e;
        $e + $e;
    };
}

fn main() {
    repro!{return}
    repro!{return 1}
}
```

`-Zunpretty=expanded` **Before:**

```console
fn main() {
    (return) - (return);
    (return) + (return);
    (return 1) - (return 1);
    (return 1) + (return 1);
}
```

**After:**

```console
fn main() {
    (return) - return;
    return + return;
    (return 1) - return 1;
    (return 1) + return 1;
}
```
</content>
</entry>
<entry>
<title>Update generic tests</title>
<updated>2025-05-21T07:24:43+00:00</updated>
<author>
<name>Marcelo Domínguez</name>
<email>dmmarcelo27@gmail.com</email>
</author>
<published>2025-05-20T12:36:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8917ff602446372e45abed7ab3a58dc879638b1c'/>
<id>urn:sha1:8917ff602446372e45abed7ab3a58dc879638b1c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update codegen and pretty tests</title>
<updated>2025-05-21T07:24:42+00:00</updated>
<author>
<name>Marcelo Domínguez</name>
<email>dmmarcelo27@gmail.com</email>
</author>
<published>2025-05-10T00:37:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2041de7083c114025646220068d3943be517af4a'/>
<id>urn:sha1:2041de7083c114025646220068d3943be517af4a</id>
<content type='text'>
UI tests are pending, will depend on error messages change.
</content>
</entry>
<entry>
<title>feat: add generated parameters to generated function</title>
<updated>2025-05-11T15:54:57+00:00</updated>
<author>
<name>HaeNoe</name>
<email>git@haenoe.party</email>
</author>
<published>2025-04-19T23:10:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e2b7278942642b550d3fe1fdbf08640157df60ef'/>
<id>urn:sha1:e2b7278942642b550d3fe1fdbf08640157df60ef</id>
<content type='text'>
- update pretty printing tests
- only add generic parameters when function is actually generic (no empty turbofish)
</content>
</entry>
</feed>
