Stop bailing out from compilation just because there were incoherent traits - #120558
Conversation
commented
Feb 1, 2024
|
r? @nnethercote (rustbot has picked a reviewer for you, use r? to override) |
commented
Feb 1, 2024
|
That's a lot of error output changes for such small compiler changes. I'm uncomfortable reviewing this because I know very little about trait stuff in general. r? @lcnr (or anyone else who might want to steal it, such as @compiler-errors or @estebank) |
This comment has been minimized.
This comment has been minimized.
08e7773 to
a9ca5b1
Compare
commented
Feb 2, 2024
|
r? @estebank |
a9ca5b1 to
965da3a
Compare
| error[E0282]: type annotations needed | ||
| --> $DIR/opaques.rs:13:20 | ||
| | | ||
| LL | pub fn cast<T>(x: Container<Alias<T>, T>) -> Container<T, T> { | ||
| | ^ cannot infer type for struct `Container<Alias<T>, T>` |
There was a problem hiding this comment.
yea this one had me scratching my head. It's an unfortunate combination of opaque types and type inference, but has a good chance of getting properly resolved with cleanups that will be enabled by #113169
commented
Feb 2, 2024
|
@bors r+ |
commented
Feb 2, 2024
commented
Feb 2, 2024
|
🌲 The tree is currently closed for pull requests below priority 100. This pull request will be tested once the tree is reopened. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
commented
Feb 2, 2024
|
@bors r- |
47c97b1 to
b044242
Compare
commented
Feb 8, 2024
|
Finished benchmarking commit (870a01a): comparison URL. Overall result: ❌ regressions - ACTION NEEDEDNext Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 663.578s -> 662.662s (-0.14%) |
commented
Feb 8, 2024
|
@oli-obk: a bunch of possible icount regressions, is that expected? |
commented
Feb 8, 2024
|
I already opened a PR: #120771 it is not expected, but from the detailed diffs (only incremental cache changes, no actual execution changes), I presume it's that one missing |
commented
Feb 8, 2024
|
Weirdly, while that PR is a perf improvement, it's completely orthogonal to this PR (because I also fixed another missing I'll dig into what happened here, This regression must be fixable, we're not actually doing extra work in successful builds, so it must just be some query/caching thing |
commented
Feb 9, 2024
|
The queries I'm I mean, since we only use the query to check for errors at the individual item level, we could just not
but that feels quite hacky. |
commented
Feb 9, 2024
|
Perf regression fully resolved after #120835 (comment) @rustbot label: +perf-regression-triaged |
fixes #120343
but also has a lot of "type annotations needed" fallout. Some are fixed in the second commit.