Skip to content

Commit

Permalink
Update test benchmark file
Browse files Browse the repository at this point in the history
  • Loading branch information
skinnyBat committed Jan 12, 2020
1 parent 9e46ddc commit 82b90bd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/test/ui/const-generics/const-param-elided-lifetime.stderr
@@ -1,35 +1,35 @@
error[E0637]: `&` without an explicit lifetime name cannot be used here
--> $DIR/const-param-elided-lifetime.rs:4:19
--> $DIR/const-param-elided-lifetime.rs:9:19
|
LL | struct A<const N: &u8>;
| ^ explicit lifetime name needed here

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

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

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

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

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

0 comments on commit 82b90bd

Please sign in to comment.