We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0668621 commit e3364a7Copy full SHA for e3364a7
tests/ui/no-custom.stderr
@@ -2,7 +2,7 @@ error[E0277]: the trait bound `&Thing: ref_cast::custom::RefCastOkay<&String>` i
2
--> tests/ui/no-custom.rs:8:36
3
|
4
8 | pub fn ref_cast(s: &String) -> &Self;
5
- | ^^^^^ the trait `RefCastCustom<String>` is not implemented for `&Thing`, which is required by `&Thing: ref_cast::custom::RefCastOkay<&String>`
+ | ^^^^^ the trait `RefCastCustom<String>` is not implemented for `Thing`, which is required by `&Thing: ref_cast::custom::RefCastOkay<&String>`
6
7
= help: the following other types implement trait `ref_cast::custom::RefCastOkay<From>`:
8
<&'a To as ref_cast::custom::RefCastOkay<&'a From>>
0 commit comments