-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Bound errors span label cleanup #120400
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
Bound errors span label cleanup #120400
Changes from all commits
3691ab8
757b726
7df4a09
fc964fb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,7 @@ error[E0599]: the method `insert` exists for struct `HashSet<Value>`, but its tr | |
--> $DIR/issue-91550.rs:8:8 | ||
| | ||
LL | struct Value(u32); | ||
| ------------ | ||
| | | ||
| doesn't satisfy `Value: Eq` | ||
| doesn't satisfy `Value: Hash` | ||
| doesn't satisfy `Value: PartialEq` | ||
| ------------ doesn't satisfy `Value: Eq`, `Value: Hash` or `Value: PartialEq` | ||
... | ||
LL | hs.insert(Value(0)); | ||
| ^^^^^^ | ||
|
@@ -26,10 +22,7 @@ error[E0599]: the method `use_eq` exists for struct `Object<NoDerives>`, but its | |
--> $DIR/issue-91550.rs:26:9 | ||
| | ||
LL | pub struct NoDerives; | ||
| -------------------- | ||
| | | ||
| doesn't satisfy `NoDerives: Eq` | ||
| doesn't satisfy `NoDerives: PartialEq` | ||
| -------------------- doesn't satisfy `NoDerives: Eq` or `NoDerives: PartialEq` | ||
LL | | ||
LL | struct Object<T>(T); | ||
| ---------------- method `use_eq` not found for this struct | ||
|
@@ -57,12 +50,7 @@ error[E0599]: the method `use_ord` exists for struct `Object<NoDerives>`, but it | |
--> $DIR/issue-91550.rs:27:9 | ||
| | ||
LL | pub struct NoDerives; | ||
| -------------------- | ||
| | | ||
| doesn't satisfy `NoDerives: Eq` | ||
| doesn't satisfy `NoDerives: Ord` | ||
| doesn't satisfy `NoDerives: PartialEq` | ||
| doesn't satisfy `NoDerives: PartialOrd` | ||
| -------------------- doesn't satisfy `NoDerives: Eq`, `NoDerives: Ord`, `NoDerives: PartialEq` or `NoDerives: PartialOrd` | ||
LL | | ||
LL | struct Object<T>(T); | ||
| ---------------- method `use_ord` not found for this struct | ||
|
@@ -94,12 +82,7 @@ error[E0599]: the method `use_ord_and_partial_ord` exists for struct `Object<NoD | |
--> $DIR/issue-91550.rs:28:9 | ||
| | ||
LL | pub struct NoDerives; | ||
| -------------------- | ||
| | | ||
| doesn't satisfy `NoDerives: Eq` | ||
| doesn't satisfy `NoDerives: Ord` | ||
| doesn't satisfy `NoDerives: PartialEq` | ||
| doesn't satisfy `NoDerives: PartialOrd` | ||
| -------------------- doesn't satisfy `NoDerives: Eq`, `NoDerives: Ord`, `NoDerives: PartialEq` or `NoDerives: PartialOrd` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. would be nice to have a single " There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd rather we did that as part of its own PR to make reviewing easier :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yea makes sense |
||
LL | | ||
LL | struct Object<T>(T); | ||
| ---------------- method `use_ord_and_partial_ord` not found for this struct | ||
|
Uh oh!
There was an error while loading. Please reload this page.