<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_trait_selection/src, branch 1.84.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.84.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.84.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-01-23T19:48:40+00:00</updated>
<entry>
<title>add cache to `AmbiguityCausesVisitor`</title>
<updated>2025-01-23T19:48:40+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2025-01-17T09:01:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=882a0b520866020bf2830fce0b63291b29bb8d3a'/>
<id>urn:sha1:882a0b520866020bf2830fce0b63291b29bb8d3a</id>
<content type='text'>
(cherry picked from commit 94bf8f04f402a2410ab85a6e6b9e542e3942b2a2)
</content>
</entry>
<entry>
<title>avoid running the overlap check twice</title>
<updated>2025-01-23T19:48:40+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2025-01-15T08:58:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fed7b2b17103f02b9e56a88552ba0490063fd32c'/>
<id>urn:sha1:fed7b2b17103f02b9e56a88552ba0490063fd32c</id>
<content type='text'>
(cherry picked from commit ebbcfd4e7721aaf3211f0e8d3d6e304400c80f78)
</content>
</entry>
<entry>
<title>Make sure to record deps from cached task in new solver on first run</title>
<updated>2025-01-23T19:46:15+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-12-03T22:47:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bc1efc5dc32d31f5fe8f48ecccc38f0ff08188d9'/>
<id>urn:sha1:bc1efc5dc32d31f5fe8f48ecccc38f0ff08188d9</id>
<content type='text'>
(cherry picked from commit 988f28d442d2e959897e43a239f67d42e0297990)
</content>
</entry>
<entry>
<title>Revert "Remove less relevant info from diagnostic"</title>
<updated>2025-01-23T19:32:32+00:00</updated>
<author>
<name>Rémy Rakic</name>
<email>remy.rakic+github@gmail.com</email>
</author>
<published>2024-11-21T16:59:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e489fc09130262796744451b8675aa084696ac80'/>
<id>urn:sha1:e489fc09130262796744451b8675aa084696ac80</id>
<content type='text'>
This reverts commit 8a568d9f15453cbfe5d6f45fa5f5bb32e58b93ed.

(cherry picked from commit 764e3e264f69d8af9fa42d86ea36702584dcb36b)
</content>
</entry>
<entry>
<title>Do not call `extern_crate` on current trait on crate mismatch errors</title>
<updated>2025-01-02T21:43:18+00:00</updated>
<author>
<name>Esteban Küber</name>
<email>esteban@kuber.com.ar</email>
</author>
<published>2024-11-28T17:55:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=21c75ad1ccc234b8cc2ffd23ed411b3a0da70833'/>
<id>urn:sha1:21c75ad1ccc234b8cc2ffd23ed411b3a0da70833</id>
<content type='text'>
When we encounter an error caused by traits/types of different versions of the same crate, filter out the current crate when collecting spans to add to the context so we don't call `extern_crate` on the `DefId` of the current crate, which is meaningless and ICEs.

Produced output with this filter:

```
error[E0277]: the trait bound `foo::Struct: Trait` is not satisfied
  --&gt; y.rs:13:19
   |
13 |     check_trait::&lt;foo::Struct&gt;();
   |                   ^^^^^^^^^^^ the trait `Trait` is not implemented for `foo::Struct`
   |
note: there are multiple different versions of crate `foo` in the dependency graph
  --&gt; y.rs:7:1
   |
4  | extern crate foo;
   | ----------------- one version of crate `foo` is used here, as a direct dependency of the current crate
5  |
6  | pub struct Struct;
   | ----------------- this type implements the required trait
7  | pub trait Trait {}
   | ^^^^^^^^^^^^^^^ this is the required trait
   |
  ::: x.rs:4:1
   |
4  | pub struct Struct;
   | ----------------- this type doesn't implement the required trait
5  | pub trait Trait {}
   | --------------- this is the found trait
   = note: two types coming from two different versions of the same crate are different types even if they look the same
   = help: you can use `cargo tree` to explore your dependency tree
note: required by a bound in `check_trait`
  --&gt; y.rs:10:19
   |
10 | fn check_trait&lt;T: Trait&gt;() {}
   |                   ^^^^^ required by this bound in `check_trait`
```

Fix #133563.

(cherry picked from commit 8574f374e2cc27b53c8b81dc4031c59ca3035284)
</content>
</entry>
<entry>
<title>Rollup merge of #132489 - compiler-errors:fn-sugg-tweaks, r=BoxyUwU</title>
<updated>2024-11-21T10:58:39+00:00</updated>
<author>
<name>Matthias Krüger</name>
<email>matthias.krueger@famsik.de</email>
</author>
<published>2024-11-21T10:58:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c064f6e1fc5e807b6c811205fb23f72bfce61d84'/>
<id>urn:sha1:c064f6e1fc5e807b6c811205fb23f72bfce61d84</id>
<content type='text'>
Fix closure arg extraction in `extract_callable_info`, generalize it to async closures

* Fix argument extraction in `extract_callable_info`
* FIx `extract_callable_info` to work for async closures
* Remove redundant `is_fn_ty` which is just a less general `extract_callable_info`
* More precisely name what is being called (i.e. call it a "closure" not a "function")

Review this without whitespace -- I ended up reformatting `extract_callable_info` because some pesky `//` comments were keeping the let-chains from being formatted.
</content>
</entry>
<entry>
<title>Rip out built-in PointerLike impl</title>
<updated>2024-11-20T16:13:57+00:00</updated>
<author>
<name>Michael Goulet</name>
<email>michael@errs.io</email>
</author>
<published>2024-11-19T21:23:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=06e66d78c3a104b30fd59714d4dbb1a5d9f351bb'/>
<id>urn:sha1:06e66d78c3a104b30fd59714d4dbb1a5d9f351bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>additional `TypingEnv` cleanups</title>
<updated>2024-11-19T20:36:23+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2024-11-19T20:11:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=002efeb72ac465cf04660537ca902172ab0e491b'/>
<id>urn:sha1:002efeb72ac465cf04660537ca902172ab0e491b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: yeet `TypingEnv::from_param_env`</title>
<updated>2024-11-19T17:35:41+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2024-11-19T17:07:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4813fda2e6d89c948c56685e83c1dcb90ed30f5d'/>
<id>urn:sha1:4813fda2e6d89c948c56685e83c1dcb90ed30f5d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>move `fn is_item_raw`  to  `TypingEnv`</title>
<updated>2024-11-19T17:06:20+00:00</updated>
<author>
<name>lcnr</name>
<email>rust@lcnr.de</email>
</author>
<published>2024-11-19T15:13:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=948cec0fad6d87f7f5993517f913aa0454b78674'/>
<id>urn:sha1:948cec0fad6d87f7f5993517f913aa0454b78674</id>
<content type='text'>
</content>
</entry>
</feed>
