diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-04-07 22:46:53 +0400 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-04-07 23:40:32 +0400 |
| commit | d5440926e2832f810cadeccff6e2ca5332e11466 (patch) | |
| tree | 4a3c6a522601fa3a82a38f05382a3d8361661232 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | fa723160318fac5f3fa6f4141cfc41c0606a3008 (diff) | |
| download | rust-d5440926e2832f810cadeccff6e2ca5332e11466.tar.gz rust-d5440926e2832f810cadeccff6e2ca5332e11466.zip | |
Suggest replacing typeof(...) with an actual type
This commit suggests replacing typeof(...) with an actual type of "...",
for example in case of `typeof(1)` we suggest replacing it with `i32`.
If the expression
- Is not const (`{ let a = 1; let _: typeof(a); }`)
- Can't be found (`let _: typeof(this_variable_does_not_exist)`)
- Or has non-suggestable type (closure, generator, error, etc)
we don't suggest anything.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
