Skip to content
Rust Search
← RustConf 2022

Weird Expressions and Where to Find Them

Rust Programming Language
RustConf 15:32 9111 views

Buried deep in the test suite of `rustc` exists a singular file, `weird-exprs.rs`, that has been around since 2011 that is filled with "technically legal" Rust. While it is far from idiomatic and makes many a Rustacean ask "why?" if not actively running away from the horror it presents, the test file is a document of what Rust has been and is today. It's also an example of things that need to be legal so we can write well formed Rust programs. This talk intends to dive into the history of the fi

Player unavailable or embedding blocked? Use the YouTube link above.