-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for opaque types / impl Trait #177
Comments
I don't see anything here that would prevent it from loading the function from the build output. I looked one step higher, and found out that the function I'm looking for isn't named in the symbol table.
|
Here's a godbolt example, demonstrating:
There doesn't seem to be any code generated for these |
Unfortunately, the code for I ran into problems applying this to my larger use case as well. The wrapper struct method fails to compile because the opaque type is assigned to
It appears that these kinds of type aliases are more unstable than I thought... |
I'd like to be able to analyze an opaque type,
impl Iterator<Item = T>
, which I am creating using iterator combinators and does not have a explicit type name because it uses closures.Here's an example where I try to assign a name to the type using the nightly feature
type_alias_impl_trait
.I would expect
cargo-asm <foo::Iter as std::iter::Iterator>::next
to show me the assembly for the named function, but it does not list that function as an option.The text was updated successfully, but these errors were encountered: