-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
113 additions
and
377 deletions.
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
error[E0277]: the trait bound `Point: From<(Ure, R1, MStorage)>` is not satisfied | ||
--> $DIR/issue-105449.rs:10:33 | ||
| | ||
LL | let _ = Into::<Point>::into(e.map_reference_coords()); | ||
| ------------------- ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<(Ure, R1, MStorage)>` is not implemented for `Point`, which is required by `(Ure, R1, MStorage): Into<Point>` | ||
| | | ||
| required by a bound introduced by this call | ||
| | ||
= help: the trait `From<(Ure, Space, <DefaultAlloc as Allocator<Ure, Space>>::Buffer)>` is implemented for `Point` | ||
= help: for that trait implementation, expected `Space`, found `R1` | ||
= note: required for `(Ure, R1, MStorage)` to implement `Into<Point>` | ||
|
||
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0277`. |
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,20 +1,18 @@ | ||
error[E0283]: type annotations needed: cannot satisfy `&'a (): Foo` | ||
--> $DIR/issue-34979.rs:6:13 | ||
error[E0308]: mismatched types | ||
--> $DIR/issue-34979.rs:7:18 | ||
| | ||
LL | &'a (): Foo, | ||
| ^^^ | ||
LL | &'static (): Foo; | ||
| ^^^ lifetime mismatch | ||
| | ||
note: multiple `impl`s or `where` clauses satisfying `&'a (): Foo` found | ||
--> $DIR/issue-34979.rs:2:1 | ||
= note: expected trait `<&'static () as Foo>` | ||
found trait `<&'a () as Foo>` | ||
note: the lifetime `'a` as defined here... | ||
--> $DIR/issue-34979.rs:4:12 | ||
| | ||
LL | impl<'a, T> Foo for &'a T {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
... | ||
LL | &'a (): Foo, | ||
| ^^^ | ||
LL | &'static (): Foo; | ||
| ^^^ | ||
LL | struct Ctx<'a>(&'a ()) | ||
| ^^ | ||
= note: ...does not necessarily outlive the static lifetime | ||
|
||
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0283`. | ||
For more information about this error, try `rustc --explain E0308`. |
Oops, something went wrong.