diff options
| author | kadmin <julianknodt@gmail.com> | 2022-02-07 16:40:16 +0000 |
|---|---|---|
| committer | kadmin <julianknodt@gmail.com> | 2022-02-07 16:42:37 +0000 |
| commit | be236d7fc2bab5edbd62d5250f62b448bbbaf858 (patch) | |
| tree | aa9f38d23213b6e6af89de5dd6a3e61269a86187 /src/test/ui | |
| parent | fdd6f4e56c7470e939c874957f9c70e908b92f6f (diff) | |
| download | rust-be236d7fc2bab5edbd62d5250f62b448bbbaf858.tar.gz rust-be236d7fc2bab5edbd62d5250f62b448bbbaf858.zip | |
Rm ValuePairs::Ty/Const
Remove old value pairs which is a strict subset of Terms.
Diffstat (limited to 'src/test/ui')
| -rw-r--r-- | src/test/ui/associated-types/higher-ranked-projection.bad.stderr | 4 | ||||
| -rw-r--r-- | src/test/ui/lifetimes/issue-79187-2.stderr | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/test/ui/associated-types/higher-ranked-projection.bad.stderr b/src/test/ui/associated-types/higher-ranked-projection.bad.stderr index e2847b6b72b..1ac72e4b90c 100644 --- a/src/test/ui/associated-types/higher-ranked-projection.bad.stderr +++ b/src/test/ui/associated-types/higher-ranked-projection.bad.stderr @@ -4,8 +4,8 @@ error[E0308]: mismatched types LL | foo(()); | ^^^ lifetime mismatch | - = note: expected type `&'a ()` - found type `&()` + = note: expected reference `&'a ()` + found type `&()` note: the lifetime requirement is introduced here --> $DIR/higher-ranked-projection.rs:15:33 | diff --git a/src/test/ui/lifetimes/issue-79187-2.stderr b/src/test/ui/lifetimes/issue-79187-2.stderr index 9a0b40d43a0..2aca8faff9f 100644 --- a/src/test/ui/lifetimes/issue-79187-2.stderr +++ b/src/test/ui/lifetimes/issue-79187-2.stderr @@ -23,8 +23,8 @@ error[E0308]: mismatched types LL | take_foo(|a: &i32| a); | ^^^^^^^^ lifetime mismatch | - = note: expected type `&i32` - found type `&i32` + = note: expected reference `&i32` + found reference `&i32` note: the anonymous lifetime #1 defined here doesn't meet the lifetime requirements --> $DIR/issue-79187-2.rs:9:14 | @@ -42,8 +42,8 @@ error[E0308]: mismatched types LL | take_foo(|a: &i32| -> &i32 { a }); | ^^^^^^^^ lifetime mismatch | - = note: expected type `&i32` - found type `&i32` + = note: expected reference `&i32` + found reference `&i32` note: the anonymous lifetime #1 defined here doesn't meet the lifetime requirements --> $DIR/issue-79187-2.rs:10:14 | |
