summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-18423.stderr
blob: 4711a3f3ce07ef57db1388c1320a73036051634d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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`.