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 a457433 commit fe08d9eCopy full SHA for fe08d9e
src/librustc/mir/interpret/mod.rs
@@ -9,6 +9,11 @@ macro_rules! err_unsup {
9
};
10
}
11
12
+#[macro_export]
13
+macro_rules! err_unsup_format {
14
+ ($($tt:tt)*) => { err_unsup!(Unsupported(format!($($tt)*))) };
15
+}
16
+
17
#[macro_export]
18
macro_rules! err_inval {
19
($($tt:tt)*) => {
@@ -27,6 +32,11 @@ macro_rules! err_ub {
27
32
28
33
29
34
35
36
+macro_rules! err_ub_format {
37
+ ($($tt:tt)*) => { err_ub!(Ub(format!($($tt)*))) };
38
39
30
40
31
41
macro_rules! err_panic {
42
0 commit comments