Bless ui-fulldeps tests.
This commit is contained in:
parent
c7ac8167ac
commit
3b1b38d17f
@ -93,7 +93,7 @@ impl CustomStruct {
|
||||
|
||||
fn test_alias(
|
||||
value: CustomAlias,
|
||||
reference: &CustomAlias, //~ ERROR passing `CustomAlias<>` by reference
|
||||
reference: &CustomAlias, //~ ERROR passing `CustomAlias<'_>` by reference
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
@ -94,11 +94,11 @@ error: passing `CustomStruct` by reference
|
||||
LL | reference: &CustomStruct,
|
||||
| ^^^^^^^^^^^^^ help: try passing by value: `CustomStruct`
|
||||
|
||||
error: passing `CustomAlias<>` by reference
|
||||
error: passing `CustomAlias<'_>` by reference
|
||||
--> $DIR/rustc_pass_by_value.rs:96:20
|
||||
|
|
||||
LL | reference: &CustomAlias,
|
||||
| ^^^^^^^^^^^^ help: try passing by value: `CustomAlias<>`
|
||||
| ^^^^^^^^^^^^ help: try passing by value: `CustomAlias<'_>`
|
||||
|
||||
error: passing `WithParameters<T, 1>` by reference
|
||||
--> $DIR/rustc_pass_by_value.rs:110:20
|
||||
|
Loading…
x
Reference in New Issue
Block a user