Skip to content
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

Fix mocking methods with types including a super:: component #137

Merged
merged 1 commit into from
May 31, 2020

Commits on May 31, 2020

  1. Fix mocking methods with types including a super:: component

    Examples of methods that would be mocked incorrectly include:
    ```
    fn foo(&self, x: [super::T]);
    fn bar(&self) -> (super::T, i32);
    ```
    
    This is a bug that was introduced by
    697d341.  That revision correctly
    handled `super` when it appeared in `Path` and `TraitObject` types, but
    not more complicated types.
    asomers committed May 31, 2020
    Configuration menu
    Copy the full SHA
    abc1f0c View commit details
    Browse the repository at this point in the history