-
Notifications
You must be signed in to change notification settings - Fork 13.3k
u
is not a type, but is reported as if it were in mismatched types message
#13359
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
Comments
Ryman
added a commit
to Ryman/rust
that referenced
this issue
Apr 13, 2014
…unt having a value. Fixes rust-lang#13359.
bors
added a commit
that referenced
this issue
Apr 13, 2014
notriddle
pushed a commit
to notriddle/rust
that referenced
this issue
Nov 10, 2022
…kril feat: add config for inserting must_use in `generate_enum_as_method` Should fix rust-lang#13312 Didn't add a test because I was not sure on how to add test for a specific configuration option, tried to look for the usages for other `AssistConfig` variants but couldn't find any in `tests`. If there is a way to test this, do point me towards it. I tried to extract the formatting string as a common `template_string` and only have if-else for that, but it didn't compile :( Also it seems these tests are failing: ``` test config::tests::generate_config_documentation ... FAILED test config::tests::generate_package_json_config ... FAILED ``` Can you also point me to how to correct these 😅 ( I guess there is some command to automatically generate these? )
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Oct 18, 2024
…ndoo Turn declare_clippy_lint into a declarative macro Ease of development, and hopefully compile times (the dependencies are still there because of ui-test). The procedural macro was doing just some very basic processing (like assigning a lint level to each category), so it didn't have a reason to stay IMO changelog: None
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Nov 7, 2024
Fix indentation of website code snippets Fixes rust-lang#13568 Follow up to rust-lang#13359, I didn't catch that it swapped the `strip_prefix` out for a `trim` but they aren't interchangeable here changelog: none
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is a bad message I got from some code today:
Note the strange parenthetical: "(expected
u32
but foundu
)"Source code to reproduce:
The text was updated successfully, but these errors were encountered: