Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Nov 29, 2024
1 parent 22360ea commit 616d77e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions tests/compile_fail/as_mut/renamed_generic.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ error[E0599]: the method `as_mut` exists for struct `Baz<i32>`, but its trait bo
= note: trait bound `Foo<i32>: AsMut<Foo<i32>>` was not satisfied
note: the trait `AsMut` must be implemented
--> $RUST/core/src/convert/mod.rs
|
| pub trait AsMut<T: ?Sized> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `as_mut`, perhaps you need to implement it:
candidate #1: `AsMut`
3 changes: 0 additions & 3 deletions tests/compile_fail/as_ref/renamed_generic.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ error[E0599]: the method `as_ref` exists for struct `Baz<i32>`, but its trait bo
= note: trait bound `Foo<i32>: AsRef<Foo<i32>>` was not satisfied
note: the trait `AsRef` must be implemented
--> $RUST/core/src/convert/mod.rs
|
| pub trait AsRef<T: ?Sized> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `as_ref`, perhaps you need to implement it:
candidate #1: `AsRef`

0 comments on commit 616d77e

Please sign in to comment.