mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-22 20:03:37 +00:00
Fix the panic message.
This commit is contained in:
parent
30ae64e51f
commit
d330dc8c11
@ -51,7 +51,7 @@ macro_rules! fixed_size_enum {
|
||||
}
|
||||
match b[0] - 1 {
|
||||
$(${index()} => Some($($pat)*),)*
|
||||
_ => panic!("Unexpected ImplPolarity code: {:?}", b[0]),
|
||||
_ => panic!("Unexpected {} code: {:?}", stringify!($ty), b[0]),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user