You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/tmp/t.rs:4:9: 4:22 error: mismatched types: expected `u32` but found `uint` (expected `u32` but found `u`)
/tmp/t.rs:4 foo(1*(1 as uint));
^~~~~~~~~~~~~
error: aborting due to previous error
Note the strange parenthetical: "(expected u32 but found u)"
Source code to reproduce:
fnfoo(_s:u32){}fnmain(){foo(1*(1asuint));}
The text was updated successfully, but these errors were encountered:
…kril
feat: add config for inserting must_use in `generate_enum_as_method`
Should fixrust-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? )
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: