-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
evaluation cache, freshen each predicate by itself #102713
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
error[E0275]: overflow evaluating the requirement `T: Trait<_>` | ||
| | ||
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_100191_2`) | ||
note: required for `T` to implement `Trait<_>` | ||
--> $DIR/issue-100191-2.rs:8:20 | ||
error[E0119]: conflicting implementations of trait `Trait<_>` | ||
--> $DIR/issue-100191-2.rs:8:1 | ||
| | ||
LL | default impl<T, U> Trait<T> for U {} | ||
| ^^^^^^^^ ^ | ||
= note: 128 redundant requirements hidden | ||
= note: required for `T` to implement `Trait<_>` | ||
| --------------------------------- first implementation here | ||
LL | | ||
LL | impl<T> Trait<<T as Iterator>::Item> for T {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0275`. | ||
For more information about this error, try `rustc --explain E0119`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,17 @@ | ||
error[E0284]: type annotations needed | ||
--> $DIR/issue-69683.rs:30:10 | ||
error[E0308]: mismatched types | ||
--> $DIR/issue-69683.rs:30:14 | ||
| | ||
LL | 0u16.foo(b); | ||
| ^^^ | ||
| --- ^ expected `u8`, found array `[u8; 3]` | ||
| | | ||
| arguments to this function are incorrect | ||
| | ||
= note: cannot satisfy `<u8 as Element<_>>::Array == [u8; 3]` | ||
help: try using a fully qualified path to specify the expected types | ||
note: associated function defined here | ||
--> $DIR/issue-69683.rs:17:8 | ||
| | ||
LL | <u16 as Foo<I>>::foo(0u16, b); | ||
| +++++++++++++++++++++ ~ | ||
|
||
error[E0283]: type annotations needed | ||
--> $DIR/issue-69683.rs:30:10 | ||
| | ||
LL | 0u16.foo(b); | ||
| ^^^ | ||
| | ||
note: multiple `impl`s satisfying `u8: Element<_>` found | ||
--> $DIR/issue-69683.rs:5:1 | ||
| | ||
LL | impl<T> Element<()> for T { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
... | ||
LL | impl<T: Element<S>, S> Element<[S; 3]> for T { | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
note: required by a bound in `Foo::foo` | ||
--> $DIR/issue-69683.rs:15:9 | ||
| | ||
LL | u8: Element<I>, | ||
| ^^^^^^^^^^ required by this bound in `Foo::foo` | ||
LL | { | ||
LL | fn foo(self, x: <u8 as Element<I>>::Array); | ||
| --- required by a bound in this | ||
help: try using a fully qualified path to specify the expected types | ||
| | ||
LL | <u16 as Foo<I>>::foo(0u16, b); | ||
| +++++++++++++++++++++ ~ | ||
| ^^^ | ||
|
||
error: aborting due to 2 previous errors | ||
error: aborting due to previous error | ||
|
||
Some errors have detailed explanations: E0283, E0284. | ||
For more information about an error, try `rustc --explain E0283`. | ||
For more information about this error, try `rustc --explain E0308`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
error[E0275]: overflow evaluating the requirement `T: Trait<_>` | ||
| | ||
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_45814`) | ||
note: required for `T` to implement `Trait<_>` | ||
--> $DIR/issue-45814.rs:8:20 | ||
error[E0119]: conflicting implementations of trait `Trait<_>` | ||
--> $DIR/issue-45814.rs:8:1 | ||
| | ||
LL | default impl<T, U> Trait<T> for U {} | ||
| ^^^^^^^^ ^ | ||
= note: 128 redundant requirements hidden | ||
= note: required for `T` to implement `Trait<_>` | ||
| --------------------------------- first implementation here | ||
LL | | ||
LL | impl<T> Trait<<T as Iterator>::Item> for T {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0275`. | ||
For more information about this error, try `rustc --explain E0119`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,14 @@ | ||
error[E0275]: overflow evaluating the requirement `_: Sized` | ||
error[E0689]: can't call method `contains` on ambiguous numeric type `{integer}` | ||
--> $DIR/issue-18400.rs:24:7 | ||
| | ||
LL | 0.contains(bits); | ||
| ^^^^^^^^ | ||
| | ||
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "256"]` attribute to your crate (`issue_18400`) | ||
note: required for `{integer}` to implement `Set<&[_]>` | ||
--> $DIR/issue-18400.rs:6:16 | ||
help: you must specify a concrete type for this numeric value, like `i32` | ||
| | ||
LL | impl<'a, T, S> Set<&'a [T]> for S where | ||
| ^^^^^^^^^^^^ ^ | ||
= note: 128 redundant requirements hidden | ||
= note: required for `{integer}` to implement `Set<&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[&[_]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]>` | ||
LL | 0_i32.contains(bits); | ||
| ~~~~~ | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0275`. | ||
For more information about this error, try `rustc --explain E0689`. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keeping
'static
here is wrong. I am changing this separately in #102472 which is blocked on #102635