Commit d12a980
committed
rust: fix rust-analyzer warning in macro
I get the following warning when using rust-analyzer and the `module`
macro:
Static variable `__rust_fs_4` should have UPPER_SNAKE_CASE name, e.g.
`__RUST_FS_4`
This patch emits an uppercase name for the static, which makes the
warning go away.
Signed-off-by: Wedson Almeida Filho <wedsonaf@google.com>1 parent 3d414ec commit d12a980
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments