Skip to content

Commit 82b90bd

Browse files
committed
Update test benchmark file
1 parent 9e46ddc commit 82b90bd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test/ui/const-generics/const-param-elided-lifetime.stderr

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
error[E0637]: `&` without an explicit lifetime name cannot be used here
2-
--> $DIR/const-param-elided-lifetime.rs:4:19
2+
--> $DIR/const-param-elided-lifetime.rs:9:19
33
|
44
LL | struct A<const N: &u8>;
55
| ^ explicit lifetime name needed here
66

77
error[E0637]: `&` without an explicit lifetime name cannot be used here
8-
--> $DIR/const-param-elided-lifetime.rs:8:15
8+
--> $DIR/const-param-elided-lifetime.rs:13:15
99
|
1010
LL | impl<const N: &u8> A<N> {
1111
| ^ explicit lifetime name needed here
1212

1313
error[E0637]: `&` without an explicit lifetime name cannot be used here
14-
--> $DIR/const-param-elided-lifetime.rs:9:21
14+
--> $DIR/const-param-elided-lifetime.rs:14:21
1515
|
1616
LL | fn foo<const M: &u8>(&self) {}
1717
| ^ explicit lifetime name needed here
1818

1919
error[E0637]: `&` without an explicit lifetime name cannot be used here
20-
--> $DIR/const-param-elided-lifetime.rs:13:15
20+
--> $DIR/const-param-elided-lifetime.rs:18:15
2121
|
2222
LL | impl<const N: &u8> B for A<N> {}
2323
| ^ explicit lifetime name needed here
2424

2525
error[E0637]: `&` without an explicit lifetime name cannot be used here
26-
--> $DIR/const-param-elided-lifetime.rs:16:17
26+
--> $DIR/const-param-elided-lifetime.rs:21:17
2727
|
2828
LL | fn bar<const N: &u8>() {}
2929
| ^ explicit lifetime name needed here
3030

3131
warning: the feature `const_generics` is incomplete and may cause the compiler to crash
32-
--> $DIR/const-param-elided-lifetime.rs:1:12
32+
--> $DIR/const-param-elided-lifetime.rs:6:12
3333
|
3434
LL | #![feature(const_generics)]
3535
| ^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)