In this macro: https://github.com/rust-lang/rust/blob/faf477a8c232d0442d16a4025f49d3ae1519131e/src/librustc/ty/maps.rs#L566-L569 This will make it easier to grep for a symbol without knowing whether it is a regular function or a query. Also consider changing the name from `define_maps!` to `define_queries!` (and the module name as well?). As discussed on IRC with @eddyb and @nikomatsakis.