Function rustc_ast::util::classify::path_return_type

source ·
fn path_return_type(path: &Path) -> Option<&Ty>
Expand description

Returns the trailing return type in the given path, if it has one.

::std::ops::FnOnce(&str) -> fn() -> *const c_void
                            ^^^^^^^^^^^^^^^^^^^^^