mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-22 12:43:36 +00:00
Add a test for #1697
This commit is contained in:
parent
9b73490491
commit
897d7bdcb9
@ -143,3 +143,7 @@ fn issue1329() {
|
||||
fn issue325() {
|
||||
let f = || unsafe { xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx };
|
||||
}
|
||||
|
||||
fn issue1697() {
|
||||
Test.func_a(A_VERY_LONG_CONST_VARIABLE_NAME, move |arg1, arg2, arg3, arg4| arg1 + arg2 + arg3 + arg4)
|
||||
}
|
||||
|
@ -167,3 +167,10 @@ fn issue325() {
|
||||
let f =
|
||||
|| unsafe { xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx };
|
||||
}
|
||||
|
||||
fn issue1697() {
|
||||
Test.func_a(
|
||||
A_VERY_LONG_CONST_VARIABLE_NAME,
|
||||
move |arg1, arg2, arg3, arg4| arg1 + arg2 + arg3 + arg4,
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user