In C you can suggest to the compiler to keep a variable in a register like such:
int main() {
register int varname = 1;
// ...
}
Is there an equivalent in Rust? Or can the compiler be trusted to do this by itself if an integer is used very frequently?