Skip to content

Commit 3b1b38d

Browse files
committed
Bless ui-fulldeps tests.
1 parent c7ac816 commit 3b1b38d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test/ui-fulldeps/internal-lints/rustc_pass_by_value.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ impl CustomStruct {
9393

9494
fn test_alias(
9595
value: CustomAlias,
96-
reference: &CustomAlias, //~ ERROR passing `CustomAlias<>` by reference
96+
reference: &CustomAlias, //~ ERROR passing `CustomAlias<'_>` by reference
9797
) {
9898
}
9999
}

src/test/ui-fulldeps/internal-lints/rustc_pass_by_value.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ error: passing `CustomStruct` by reference
9494
LL | reference: &CustomStruct,
9595
| ^^^^^^^^^^^^^ help: try passing by value: `CustomStruct`
9696

97-
error: passing `CustomAlias<>` by reference
97+
error: passing `CustomAlias<'_>` by reference
9898
--> $DIR/rustc_pass_by_value.rs:96:20
9999
|
100100
LL | reference: &CustomAlias,
101-
| ^^^^^^^^^^^^ help: try passing by value: `CustomAlias<>`
101+
| ^^^^^^^^^^^^ help: try passing by value: `CustomAlias<'_>`
102102

103103
error: passing `WithParameters<T, 1>` by reference
104104
--> $DIR/rustc_pass_by_value.rs:110:20

0 commit comments

Comments
 (0)