-
Notifications
You must be signed in to change notification settings - Fork 13.3k
manual, still a reference with ~ operator #16439
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
PR submitted. |
steveklabnik
added a commit
to steveklabnik/rust
that referenced
this issue
Aug 12, 2014
bors
added a commit
that referenced
this issue
Aug 14, 2014
matthiaskrgr
pushed a commit
to matthiaskrgr/rust
that referenced
this issue
Feb 5, 2024
feat: Support for GOTO def from *inside* files included with include! macro close rust-lang#14937 Try to implement goto def from *inside* files included with include! macro. This implementation has two limitations: 1. Only **one** file which calls include! will be tracked. (I think multiple file be included is a rare case and we may let it go for now) 2. Mapping token from included file to macro call file (semantics.rs:646~658) works fine but I am not sure is this the correct way to implement.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
In the last lines of the chapter of traits, we can read this example :
let mycircle: Circle = ~mycircle as ~Circle;
let nonsense = mycircle.radius() * mycircle.area();
But i've understand that the ~ operator is obsolete.
Could you please correct it ? Thx
The text was updated successfully, but these errors were encountered: