← Home

What will these reserved Rust keywords do? Theory and speculation

1 April, 2025

I found this page which lists all reserved keywords for Rust: https://doc.rust-lang.org/reference/keywords.html

I did research and compiled a list of speculations / rfcs that use these keywords:

unsized only makes sense as sugar for !Sized but is this really necessary? Rust tries hard not to special case the standard library and just adding syntax for a built-in item seems like isn't necessary. I didn't find an RFC for it though so it could be used for more than that

do is used for the do yeet in https://github.com/rust-lang/rust/issues/96373 but the syntax will change when its stabilized so I don't count it