1 #![warn(clippy::from_over_into)]
3 struct InMacro(String);
5 macro_rules! in_macro {
11 impl Into<InMacro> for String {
12 fn into(self) -> InMacro {
13 InMacro(in_macro!(self))
17 struct WeirdUpperSelf;
19 impl Into<WeirdUpperSelf> for &'static [u8] {
20 fn into(self) -> WeirdUpperSelf {
21 let _ = Self::default();
28 impl Into<u8> for ContainsVal {