{"id":2810,"date":"2025-12-27T19:38:36","date_gmt":"2025-12-27T19:38:36","guid":{"rendered":"https:\/\/hauweele.net\/~gawen\/blog\/?p=2810"},"modified":"2025-12-27T19:38:36","modified_gmt":"2025-12-27T19:38:36","slug":"disable-rustanalyzer-warnings","status":"publish","type":"post","link":"https:\/\/hauweele.net\/~gawen\/blog\/?p=2810","title":{"rendered":"Disable RustAnalyzer warnings"},"content":{"rendered":"<p>Currently, I mainly use Neovim to code in Rust (and pretty much any other language). The problem is that when you start a new Rust project and begin creating structs and functions all over the place, you get flooded with warnings about &#8220;unused this&#8221; and &#8220;unused that&#8221;.<\/p>\n<p>Maybe many of you probably already know this, but a quick trick to avoid those warnings is to simply run:<br \/>\n<code>export RUSTFLAGS=\"-Awarnings\"<\/code>.<\/p>\n<p>This will disable all warnings, but it can be very convenient during early development.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Currently, I mainly use Neovim to code in Rust (and pretty much any other language). The problem is that when you start a new Rust project and begin creating structs and functions all over the place, you get flooded with &hellip; <a href=\"https:\/\/hauweele.net\/~gawen\/blog\/?p=2810\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[1171,1191,1193,1192],"class_list":["post-2810","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-rust","tag-rustanalyzer","tag-unused","tag-warnings"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2810"}],"version-history":[{"count":0,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2810\/revisions"}],"wp:attachment":[{"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hauweele.net\/~gawen\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}