Skip to content

Conversation

@pcwalton
Copy link
Contributor

This eliminates the last vestige of the ~ syntax.

Instead of ~self, write self: Box<TypeOfSelf>; instead of mut ~self, write mut self: Box<TypeOfSelf>, replacing TypeOfSelf with
the self-type parameter as specified in the implementation.

Closes #13885.

[breaking-change]

r? @alexcrichton

This eliminates the last vestige of the `~` syntax.

Instead of `~self`, write `self: Box<TypeOfSelf>`; instead of `mut
~self`, write `mut self: Box<TypeOfSelf>`, replacing `TypeOfSelf` with
the self-type parameter as specified in the implementation.

Closes rust-lang#13885.

[breaking-change]
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 27, 2023
internal: Remove debugging code in path resolution

Closes rust-lang#15924
flip1995 pushed a commit to flip1995/rust that referenced this pull request Oct 31, 2025
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.

Remove ~, add Box

2 participants