Function timrs_macro_utils::error::unexpected_token_message
source · pub fn unexpected_token_message(expected: &str, got: &str) -> StringExpand description
Generate a message for an Unexpected Token error.
§Examples
use timrs_macro_utils::error::{unexpected_token_message};
assert_eq!(
unexpected_token_message("`A`", "`B`"),
"Unexpected Token: Expected `A`, Got `B`"
);