diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/issues/issue-18423.stderr | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/test/ui/issues/issue-18423.stderr b/src/test/ui/issues/issue-18423.stderr new file mode 100644 index 000000000..4711a3f3c --- /dev/null +++ b/src/test/ui/issues/issue-18423.stderr @@ -0,0 +1,17 @@ +error[E0107]: this struct takes 0 lifetime arguments but 1 lifetime argument was supplied + --> $DIR/issue-18423.rs:4:8 + | +LL | x: Box<'a, isize> + | ^^^ -- help: remove this lifetime argument + | | + | expected 0 lifetime arguments + | +note: struct defined here, with 0 lifetime parameters + --> $SRC_DIR/alloc/src/boxed.rs:LL:COL + | +LL | pub struct Box< + | ^^^ + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0107`. |