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: Fix proc-macro server not using the supplied span in Ident::new #11388

Merged
merged 1 commit into from
Jan 31, 2022

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Jan 31, 2022

This makes the hack introduced by #10899 obsolete.

For async-trait specifically, (unfortunately, but technically correct) due to how async-trait works, the self local now renders white, as it now resolves to the __self local introduced by the attribute.

Code_0Ezw6PJAbh
bors r+

bors bot added a commit that referenced this pull request Jan 31, 2022
11388: fix: Fix proc-macro server not using the supplied span in Ident::new r=Veykril a=Veykril

This makes the hack introduced by #10899 obsolete.

For async-trait specifically, (unfortunately, but technically correct) due to how async-trait works, the self local now renders white, as it now resolves to the `__self` local introduced by the attribute.

![Code_0Ezw6PJAbh](https://user-images.githubusercontent.com/3757771/151827812-c03b8fc7-7ecf-4959-804a-2680d8e61e8b.png)
bors r+

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
@bors
Copy link
Contributor

bors bot commented Jan 31, 2022

Canceled.

@Veykril
Copy link
Member Author

Veykril commented Jan 31, 2022

bors retry

@bors
Copy link
Contributor

bors bot commented Jan 31, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant