<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_lint/src/unit_bindings.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-02-08T22:12:13+00:00</updated>
<entry>
<title>Rustfmt</title>
<updated>2025-02-08T22:12:13+00:00</updated>
<author>
<name>bjorn3</name>
<email>17426603+bjorn3@users.noreply.github.com</email>
</author>
<published>2025-02-08T22:12:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1fcae03369abb4c2cc180cd5a49e1f4440a81300'/>
<id>urn:sha1:1fcae03369abb4c2cc180cd5a49e1f4440a81300</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat using the new identifier sorting from rustfmt</title>
<updated>2024-09-22T23:11:29+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-09-22T23:05:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c682aa162b0d41e21cc6748f4fecfe01efb69d1f'/>
<id>urn:sha1:c682aa162b0d41e21cc6748f4fecfe01efb69d1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reformat `use` declarations.</title>
<updated>2024-07-28T22:26:52+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-28T22:13:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=84ac80f1921afc243d71fd0caaa4f2838c294102'/>
<id>urn:sha1:84ac80f1921afc243d71fd0caaa4f2838c294102</id>
<content type='text'>
The previous commit updated `rustfmt.toml` appropriately. This commit is
the outcome of running `x fmt --all` with the new formatting options.
</content>
</entry>
<entry>
<title>Inline &amp; delete `Ty::new_unit`, since it's just a field access</title>
<updated>2024-05-02T15:49:23+00:00</updated>
<author>
<name>Waffle Lapkin</name>
<email>waffle.lapkin@gmail.com</email>
</author>
<published>2024-05-02T15:49:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=698d7a031eb65a9d47952f7ba3b13aa16fcbb11b'/>
<id>urn:sha1:698d7a031eb65a9d47952f7ba3b13aa16fcbb11b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `extern crate rustc_session` from `rustc_lint`.</title>
<updated>2024-04-29T03:57:41+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-04-29T03:42:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e6b3e20243ba3d8dd4f369bfc286599796680e1d'/>
<id>urn:sha1:e6b3e20243ba3d8dd4f369bfc286599796680e1d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `hir::Local` into `hir::LetStmt`</title>
<updated>2024-03-22T19:36:21+00:00</updated>
<author>
<name>Guillaume Gomez</name>
<email>guillaume.gomez@huawei.com</email>
</author>
<published>2024-03-20T16:50:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b376f49e3092731c589384b3e7909adde6a8a7aa'/>
<id>urn:sha1:b376f49e3092731c589384b3e7909adde6a8a7aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename `LintContext::emit_spanned_lint` as `LintContext::emit_span_lint`.</title>
<updated>2024-01-22T21:08:25+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-01-16T03:40:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1881bfaa2b4e1f006db30aa408aaf360557ab2e9'/>
<id>urn:sha1:1881bfaa2b4e1f006db30aa408aaf360557ab2e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add allow-by-default lint for unit bindings</title>
<updated>2023-11-20T03:45:44+00:00</updated>
<author>
<name>许杰友 Jieyou Xu (Joe)</name>
<email>jieyouxu@outlook.com</email>
</author>
<published>2023-06-13T16:19:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8da09aed94e0c407f3c82450fa8268e6bff0f71b'/>
<id>urn:sha1:8da09aed94e0c407f3c82450fa8268e6bff0f71b</id>
<content type='text'>
This lint is not triggered if any of the following conditions are met:

- The user explicitly annotates the binding with the `()` type.
- The binding is from a macro expansion.
- The user explicitly wrote `let () = init;`
- The user explicitly wrote `let pat = ();`. This is allowed for local
  lifetimes.
</content>
</entry>
</feed>
