Add a test for #2207
This commit is contained in:
parent
54f3c21a2f
commit
35aa1dc992
2 changed files with 13 additions and 0 deletions
|
@ -198,3 +198,9 @@ fn issue2171() {
|
|||
}
|
||||
})
|
||||
}
|
||||
|
||||
fn issue2207() {
|
||||
a.map(|_| unsafe {
|
||||
a_very_very_very_very_very_very_very_long_function_name_or_anything_else()
|
||||
}.to_string())
|
||||
}
|
||||
|
|
|
@ -230,3 +230,10 @@ fn issue2171() {
|
|||
}
|
||||
})
|
||||
}
|
||||
|
||||
fn issue2207() {
|
||||
a.map(|_| {
|
||||
unsafe { a_very_very_very_very_very_very_very_long_function_name_or_anything_else() }
|
||||
.to_string()
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue