Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
issues
/
issue-36786-resolve-call.rs
blob: e5341ba7dbedde67dc232e703f869b51fe744511 [
file
] [
log
] [
blame
]
// run-pass
// Ensure that types that rely on obligations are autoderefed
// correctly
fn
main
()
{
let
x
:
Vec
<
Box
<
dyn
Fn
()>>
=
vec
![
Box
::
new
(||
())];
x
[
0
]()
}