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

Register new snapshots #13099

Merged
merged 1 commit into from
Mar 23, 2014
Merged

Register new snapshots #13099

merged 1 commit into from
Mar 23, 2014

Conversation

flaper87
Copy link
Contributor

No description provided.

bors added a commit that referenced this pull request Mar 23, 2014
@bors bors closed this Mar 23, 2014
@bors bors merged commit 576e36e into rust-lang:master Mar 23, 2014
JohnTitor pushed a commit to JohnTitor/rust that referenced this pull request Aug 30, 2022
…r=jonas-schievink

fix: Register decorator token type to avoid panic

Followup to rust-lang/rust-analyzer#13084
JohnTitor pushed a commit to JohnTitor/rust that referenced this pull request Aug 30, 2022
internal: Re-export standard semantic token types and mods

Should help in preventing future occurences of rust-lang#13099 by having all token types and mods come through the same place
flip1995 added a commit to flip1995/rust that referenced this pull request Nov 28, 2024
This should address rust-lang#13099 for the `derivable_impls` test. As I've not
contributed to clippy before, I'd like to make sure i'm on the right
track before doing more :)

changelog: [`derivable_impls`]: Use multipart_suggestion to aggregate
feedback
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 15, 2024
This addresses rust-lang#13099 for the manual_split_once test, using the
str_splitn lint.

changelog: [str_splitn]: Updated str_splitn to use multipart_suggestions
where appropriate
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 15, 2024
This addresses rust-lang#13099 for the manual_async_fn test.

changelog: [manual_async_fn]: Updated manual_async_fn to use
multipart_suggestions where appropriate
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 15, 2024
…-lang#13727)

This should address rust-lang#13099 for the derivable_impls test. As this
combines everything into a single multipart_suggestion, the feedback
message is a little less "targeted" than it was before, but now it
provides a complete`--fix`able suggestion - e.g.:

```
error: this binding can be a slice pattern to avoid indexing
  --> tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.rs:5:17
   |
LL |     if let Some(slice) = slice {
   |                 ^^^^^
   |
note: the lint level is defined here
  --> tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.rs:1:9
   |
LL | #![deny(clippy::index_refutable_slice)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: replace the binding and indexed access with a slice pattern
   |
LL ~     if let Some([_, _, _, _, _, _, _, slice_7, ..]) = slice {
LL |
LL |         // This would usually not be linted but is included now due to the
LL |         // index limit in the config file
LL ~         println!("{}", slice_7);
   |
```

changelog: [index_refutable_slice]: Fixed multipart_suggestions to
provide correct rustfix-able lint
flip1995 pushed a commit to flip1995/rust that referenced this pull request Dec 26, 2024
This should address rust-lang#13099 for the let_unit test.

changelog: [let_unit]: Updated let_unit to use multipart_suggestions
where appropriate
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.

3 participants