Add a test for #2207
This commit is contained in:
parent
54f3c21a2f
commit
35aa1dc992
@ -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…
x
Reference in New Issue
Block a user