Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranron committed Jan 10, 2025
1 parent e66d3ca commit eefe08a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/compile_fail/as_mut/renamed_generic.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ 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`

0 comments on commit eefe08a

Please sign in to comment.