<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/macros, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-09-12T10:02:11+00:00</updated>
<entry>
<title>Rollup merge of #146308 - cyrgani:concat-integer-literals, r=jackh726</title>
<updated>2025-09-12T10:02:11+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-09-12T10:02:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=40520c635728968693f59808d48ee6baf17dfaac'/>
<id>urn:sha1:40520c635728968693f59808d48ee6baf17dfaac</id>
<content type='text'>
support integer literals in `${concat()}`

Tracking issue: rust-lang/rust#124225

Adds support for using integer literals as arguments to `${concat()}` macro expressions.
Integer formatting such as `1_000` is preserved by this.
</content>
</entry>
<entry>
<title>Revert "Rollup merge of #122661 - estebank:assert-macro-span, r=petrochenkov"</title>
<updated>2025-09-11T01:10:46+00:00</updated>
<author>
<name>Jieyou Xu</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2025-09-11T01:00:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b38a86f4d7c28ae9ab153b87c7e45037e56306fb'/>
<id>urn:sha1:b38a86f4d7c28ae9ab153b87c7e45037e56306fb</id>
<content type='text'>
This reverts commit 1eeb8e8b151d1da7daa73837a25dc5f7a1a7fa28, reversing
changes made to 324bf2b9fd8bf9661e7045c8a93f5ff0ec1a8ca5.

Unfortunately the assert desugaring change is not backwards compatible,
see RUST-145770.

Code such as

```rust
#[derive(Debug)]
struct F {
    data: bool
}

impl std::ops::Not for F {
  type Output = bool;
  fn not(self) -&gt; Self::Output { !self.data }
}

fn main() {
  let f = F { data: true };

  assert!(f);
}
```

would be broken by the assert desugaring change. We may need to land
the change over an edition boundary, or limit the editions that the
desugaring change impacts.
</content>
</entry>
<entry>
<title>Add regression test for assert desugaring change</title>
<updated>2025-09-11T01:09:31+00:00</updated>
<author>
<name>Jieyou Xu</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2025-09-11T01:06:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fc58d8f5cce592998d0ba43b25e445eb6b96c827'/>
<id>urn:sha1:fc58d8f5cce592998d0ba43b25e445eb6b96c827</id>
<content type='text'>
Using the MCVE reported in RUST-145770.
</content>
</entry>
<entry>
<title>Apply requested changes</title>
<updated>2025-09-08T17:19:59+00:00</updated>
<author>
<name>IoaNNUwU</name>
<email>ioannxd@gmail.com</email>
</author>
<published>2025-09-08T17:15:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=43a6f56ca78295164dbf964695a43be7e35b1994'/>
<id>urn:sha1:43a6f56ca78295164dbf964695a43be7e35b1994</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement better suggestions based on additional tests and other code paths</title>
<updated>2025-09-08T15:35:40+00:00</updated>
<author>
<name>IoaNNUwU</name>
<email>ioannxd@gmail.com</email>
</author>
<published>2025-09-02T21:53:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1e733b389192b48110779bc1cd8edcaed7c43b0e'/>
<id>urn:sha1:1e733b389192b48110779bc1cd8edcaed7c43b0e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>support integer literals in `${concat()}`</title>
<updated>2025-09-07T20:09:37+00:00</updated>
<author>
<name>cyrgani</name>
<email>ansgar.w.zielke@gmail.com</email>
</author>
<published>2025-09-07T19:26:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1cb749aa3b421db4f918e8befca569166e8ba6ab'/>
<id>urn:sha1:1cb749aa3b421db4f918e8befca569166e8ba6ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add compiler error when trying to use concat metavar expr in repetitions</title>
<updated>2025-09-01T06:27:30+00:00</updated>
<author>
<name>jullang</name>
<email>jullanggit@proton.me</email>
</author>
<published>2025-08-31T19:27:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f6e7c81061c24a2210149ff94670d8672bd0224a'/>
<id>urn:sha1:f6e7c81061c24a2210149ff94670d8672bd0224a</id>
<content type='text'>
Replace unimplemented()! with a more helpful compiler error.
</content>
</entry>
<entry>
<title>Rollup merge of #145675 - Oneirical:uncountable-integer-8, r=jieyouxu</title>
<updated>2025-08-29T10:37:30+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>476013+matthiaskrgr@users.noreply.github.com</email>
</author>
<published>2025-08-29T10:37:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e15744e7a4095a868cc3d145ae81bd6660247519'/>
<id>urn:sha1:e15744e7a4095a868cc3d145ae81bd6660247519</id>
<content type='text'>
Rehome 30 `tests/ui/issues/` tests to other subdirectories under `tests/ui/` [#1 of Batch #2]

Part of rust-lang/rust#133895

Methodology:

1. Refer to the previously written `tests/ui/SUMMARY.md`
2. Find an appropriate category for the test, using the original issue thread and the test contents.
3. Add the issue URL at the bottom (not at the top, as that would mess up stderr line numbers)
4. Rename the tests to make their purpose clearer

Inspired by the methodology that `@Kivooeo` was using.

r? `@jieyouxu`
</content>
</entry>
<entry>
<title>Rollup merge of #144864 - Muscraft:no-source-fixes, r=jieyouxu</title>
<updated>2025-08-28T13:10:34+00:00</updated>
<author>
<name>Stuart Cook</name>
<email>Zalathar@users.noreply.github.com</email>
</author>
<published>2025-08-28T13:10:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2fae59ac96f2f22df40b375c5a122a9fcbb5bab2'/>
<id>urn:sha1:2fae59ac96f2f22df40b375c5a122a9fcbb5bab2</id>
<content type='text'>
No source fixes

This PR started as a fix for a rendering bug that [got noticed in #143661](https://github.com/rust-lang/rust/pull/143661#discussion_r2199109530), but turned into a fix for any rendering bugs related to files with no source.
- Don't add an end column separator after a file with no source
- Add column separator before secondary messages with no source
- Render continuation between no source labels

Before
```
error[E0423]: expected function, tuple struct or tuple variant, found struct `std::collections::HashMap`
   ╭▸ $DIR/multi-suggestion.rs:17:13
   │
LL │     let _ = std::collections::HashMap();
   │             ━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ╭▸ $SRC_DIR/std/src/collections/hash/map.rs:LL:COL
   │
   ╰ note: `std::collections::HashMap` defined here
   ╰╴
note: constructor is not visible here due to private fields
   ╭▸ $SRC_DIR/alloc/src/boxed.rs:LL:COL
   │
   ╰ note: private field
   │
   ╰ note: private field
```

After
```
error[E0423]: expected function, tuple struct or tuple variant, found struct `std::collections::HashMap`
   ╭▸ $DIR/multi-suggestion.rs:17:13
   │
LL │     let _ = std::collections::HashMap();
   │             ━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ╰╴
   ╭▸ $SRC_DIR/std/src/collections/hash/map.rs:LL:COL
   │
   ╰ note: `std::collections::HashMap` defined here
note: constructor is not visible here due to private fields
   ╭▸ $SRC_DIR/alloc/src/boxed.rs:LL:COL
   │
   ├ note: private field
   │
   ╰ note: private field
```

Note: This PR also makes it so `rustc` and `annotate-snippets` match in these cases
</content>
</entry>
<entry>
<title>remove old crash test</title>
<updated>2025-08-27T05:39:33+00:00</updated>
<author>
<name>Takayuki Maeda</name>
<email>takoyaki0316@gmail.com</email>
</author>
<published>2025-08-27T05:39:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c361f826756fa9c14e611c01b6f6717ecbd19f2'/>
<id>urn:sha1:2c361f826756fa9c14e611c01b6f6717ecbd19f2</id>
<content type='text'>
</content>
</entry>
</feed>
