<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_borrowck/src/def_use.rs, 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-04-13T22:01:54+00:00</updated>
<entry>
<title>Visit place in BackwardIncompatibleDropHint statement</title>
<updated>2025-04-13T22:01:54+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2025-04-13T22:01:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2f96e784e2f2085087ababfc509fb877000299fe'/>
<id>urn:sha1:2f96e784e2f2085087ababfc509fb877000299fe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #126013 - nnethercote:unreachable_pub, r=Urgau</title>
<updated>2024-08-26T22:41:57+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-08-26T22:41:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=110c3df7fd48904bf714d02201bccb80695fc690'/>
<id>urn:sha1:110c3df7fd48904bf714d02201bccb80695fc690</id>
<content type='text'>
Add `#[warn(unreachable_pub)]` to a bunch of compiler crates

By default `unreachable_pub` identifies things that need not be `pub` and tells you to make them `pub(crate)`. But sometimes those things don't need any kind of visibility. So they way I did these was to remove the visibility entirely for each thing the lint identifies, and then add `pub(crate)` back in everywhere the compiler said it was necessary. (Or occasionally `pub(super)` when context suggested that was appropriate.) Tedious, but results in more `pub` removal.

There are plenty more crates to do but this seems like enough for a first PR.

r? `@compiler-errors`
</content>
</entry>
<entry>
<title>rename AddressOf -&gt; RawBorrow inside the compiler</title>
<updated>2024-08-18T17:46:53+00:00</updated>
<author>
<name>Ralf Jung</name>
<email>post@ralfj.de</email>
</author>
<published>2024-08-12T08:57:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=35709be02d43b40e7f720408f8a88bf6e9d5501d'/>
<id>urn:sha1:35709be02d43b40e7f720408f8a88bf6e9d5501d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add `warn(unreachable_pub)` to `rustc_borrowck`.</title>
<updated>2024-08-15T22:46:57+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-07-06T11:53:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0685c978434b21c18ae2575cbbd72b6234b7701e'/>
<id>urn:sha1:0685c978434b21c18ae2575cbbd72b6234b7701e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove `extern crate rustc_middle` from numerous crates.</title>
<updated>2024-04-29T04:50:45+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-04-29T03:56:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99e036bd21a542a06a58f8867186b38157e25b66'/>
<id>urn:sha1:99e036bd21a542a06a58f8867186b38157e25b66</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Invert diagnostic lints.</title>
<updated>2024-02-06T02:12:33+00:00</updated>
<author>
<name>Nicholas Nethercote</name>
<email>n.nethercote@gmail.com</email>
</author>
<published>2024-02-05T22:51:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0ac1195ee0f8cd6d87e654a2312b899883272ec2'/>
<id>urn:sha1:0ac1195ee0f8cd6d87e654a2312b899883272ec2</id>
<content type='text'>
That is, change `diagnostic_outside_of_impl` and
`untranslatable_diagnostic` from `allow` to `deny`, because more than
half of the compiler has be converted to use translated diagnostics.

This commit removes more `deny` attributes than it adds `allow`
attributes, which proves that this change is warranted.
</content>
</entry>
<entry>
<title>rename `BorrowKind::Shallow` to `Fake`</title>
<updated>2023-11-08T21:55:28+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2023-11-08T12:42:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=992d93f687c75f8f5ee69e0fb43bff509c7c9cb8'/>
<id>urn:sha1:992d93f687c75f8f5ee69e0fb43bff509c7c9cb8</id>
<content type='text'>
also adds some comments
</content>
</entry>
<entry>
<title>s/generator/coroutine/</title>
<updated>2023-10-20T21:14:01+00:00</updated>
<author>
<name>Oli Scherer</name>
<email>git-spam-no-reply9815368754983@oli-obk.de</email>
</author>
<published>2023-10-19T21:46:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e96ce20b34789d29e925425da6cf138927b80a79'/>
<id>urn:sha1:e96ce20b34789d29e925425da6cf138927b80a79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unique borrows are mutating uses</title>
<updated>2023-05-29T15:15:48+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2023-05-29T15:15:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cfd062341125ae3abbf2e7a7e30cfb1e8ac0c6e3'/>
<id>urn:sha1:cfd062341125ae3abbf2e7a7e30cfb1e8ac0c6e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make `NonUseContext::AscribeUserTy` carry `ty::Variance`</title>
<updated>2023-05-10T06:54:56+00:00</updated>
<author>
<name>Obei Sideg</name>
<email>obei.sideg@gmail.com</email>
</author>
<published>2023-05-08T20:38:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2198faeee2a1e3abf30fa71a032aa76c2545c4e3'/>
<id>urn:sha1:2198faeee2a1e3abf30fa71a032aa76c2545c4e3</id>
<content type='text'>
</content>
</entry>
</feed>
