diff options
| author | Ben Lewis <benlewisj@gmail.com> | 2020-01-12 20:41:03 +1300 |
|---|---|---|
| committer | Ben Lewis <benlewisj@gmail.com> | 2020-01-12 20:41:03 +1300 |
| commit | 82b90bd9938fb56452b8a10bd004ad84a0f81503 (patch) | |
| tree | a8877e37fdd39ef58ad87c4c465e77dc8c99c6cd | |
| parent | 9e46ddc7a2c1bcef52bfa9e4ae547b296814e2b9 (diff) | |
| download | rust-82b90bd9938fb56452b8a10bd004ad84a0f81503.tar.gz rust-82b90bd9938fb56452b8a10bd004ad84a0f81503.zip | |
Update test benchmark file
| -rw-r--r-- | src/test/ui/const-generics/const-param-elided-lifetime.stderr | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/ui/const-generics/const-param-elided-lifetime.stderr b/src/test/ui/const-generics/const-param-elided-lifetime.stderr index 9f29dbf980a..93133c507fe 100644 --- a/src/test/ui/const-generics/const-param-elided-lifetime.stderr +++ b/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)] | ^^^^^^^^^^^^^^ |
