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

Contrary to AsRef, elements referenced with Borrow are ignored. #15914

Closed
c410-f3r opened this issue Nov 16, 2023 · 4 comments
Closed

Contrary to AsRef, elements referenced with Borrow are ignored. #15914

c410-f3r opened this issue Nov 16, 2023 · 4 comments
Labels
C-bug Category: bug

Comments

@c410-f3r
Copy link
Contributor

c410-f3r commented Nov 16, 2023

Hints or renames don't work with elements behind Borrow/BorrowMut because they are ignored.

Capture d’écran du 2023-11-16 17-19-08

On the other side, AsRef which is a very similar trait, have its referenced element correctly interpreted.

Capture d’écran du 2023-11-16 17-18-33

@c410-f3r c410-f3r added the C-bug Category: bug label Nov 16, 2023
@c410-f3r
Copy link
Contributor Author

Closing due to inanition.

@filipwiech
Copy link

Hi @c410-f3r! Did it turn out that the issue is not valid? 🙂

@c410-f3r
Copy link
Contributor Author

The issue is still valid in the sense that the problem still persists.

@flodiebold
Copy link
Member

Likely a duplicate of #5514 anyway.

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

No branches or pull requests

3 participants