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
fnmain(){let x = [1i];formut loop_unused in x.iter(){}letmut normal_unused = 1i;}
Compiling gives
<anon>:5:9: 5:26 warning: unused variable: `normal_unused`, #[warn(unused_variable)] on by default
<anon>:5 let mut normal_unused = 1i;
^~~~~~~~~~~~~~~~~
<anon>:5:9: 5:26 warning: variable does not need to be mutable, #[warn(unused_mut)] on by default
<anon>:5 let mut normal_unused = 1i;
^~~~~~~~~~~~~~~~~
but loop_unused should get those sort of warnings too.
(This is possibly related to #16205 in that it's probably caused by a mishandling of the for pattern.)
The text was updated successfully, but these errors were encountered:
internal: Compress file text using LZ4
I haven't tested properly, but this roughly looks like:
```
1246 MB
59mb 4899 FileTextQuery
1008 MB
20mb 4899 CompressedFileTextQuery
555kb 1790 FileTextQuery
```
We might want to test on something more interesting, like `bevy`.
Compiling gives
but
loop_unused
should get those sort of warnings too.(This is possibly related to #16205 in that it's probably caused by a mishandling of the
for
pattern.)The text was updated successfully, but these errors were encountered: