]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18423.stderr
Rollup merge of #85174 - GuillaumeGomez:doc-code-block-border-radius, r=jsha
[rust.git] / src / test / ui / issues / issue-18423.stderr
1 error[E0107]: this struct takes 0 lifetime arguments but 1 lifetime argument was supplied
2   --> $DIR/issue-18423.rs:4:8
3    |
4 LL |     x: Box<'a, isize>
5    |        ^^^ -- help: remove this lifetime argument
6    |        |
7    |        expected 0 lifetime arguments
8    |
9 note: struct defined here, with 0 lifetime parameters
10   --> $SRC_DIR/alloc/src/boxed.rs:LL:COL
11    |
12 LL | pub struct Box<
13    |            ^^^
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0107`.