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

librustc: Some borrowck error message fixes #17434

Merged
merged 4 commits into from
Oct 2, 2014

Conversation

ftxqxd
Copy link
Contributor

@ftxqxd ftxqxd commented Sep 22, 2014

This was originally part of #17215.

Closes #15506.
Closes #15630.
Closes #17263.

This also partially implements #15838.

@alexcrichton
Copy link
Member

r? @nikomatsakis or @pnkfelix

@nikomatsakis
Copy link
Contributor

Looks good except for the terminology around collateral moves.

Previously it output `partially moved` to eagerly. This updates it to be more
accurate and output `collaterally moved` for use of values that were invalidated
by moves out of different fields in the same struct.

Closes rust-lang#15630.
@ftxqxd
Copy link
Contributor Author

ftxqxd commented Oct 2, 2014

OK, I’ve updated the ‘use of moved value’ messages to be more similar to the borrow messages. r?

@nikomatsakis
Copy link
Contributor

@P1start thanks, this is nice.

bors added a commit that referenced this pull request Oct 2, 2014
This was originally part of #17215.

Closes #15506.
Closes #15630.
Closes #17263.

This also partially implements #15838.
@bors bors closed this Oct 2, 2014
@bors bors merged commit 02c6ebd into rust-lang:master Oct 2, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Jun 23, 2024
…rs, r=Veykril

docs: document omission heuristics for parameter inlay hints

These are not currently documented and could cause users to think that their rust-analyzer configuration is broken.

Partially addresses rust-lang#17433.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants