Get the latest tech news

An Interactive Debugger for Rust Trait Errors


Advanced type systems can cause bewhildering error messages and Rust's trait system certainly is no exception! In this paper we present Argus, an IDE extension for interactively debugging Rust traits, and the results of our user study where 25 developers debugged trait errors with and without Argus.

Thankfully, type systems do a great job of statically catching simple mistakes and saving developers time. The issue is that Diesel, the Rust ORM library being used, contains a complex system of traits to check domain-specific correctness properties, like the validity of SQL queries. If you're interested to learn more about how these concepts relate to other languages, how we designed the interface, or how we evaluated the tool, read the full paper available online, which will appear at PLDI 2025.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of interactive debugger

interactive debugger

Photo of rust trait errors

rust trait errors