aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/macro23.rs
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/rust/compile/macro23.rs')
-rw-r--r--gcc/testsuite/rust/compile/macro23.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/rust/compile/macro23.rs b/gcc/testsuite/rust/compile/macro23.rs
index afaca9b..a6a2afd 100644
--- a/gcc/testsuite/rust/compile/macro23.rs
+++ b/gcc/testsuite/rust/compile/macro23.rs
@@ -1,3 +1,6 @@
+#[lang = "sized"]
+pub trait Sized {}
+
macro_rules! maybe_impl {
($left:ident, $right:ident, $l_fn:ident, $r_fn:ident) => {
fn $l_fn(value: T) -> Maybe<T> {