Should this check `.rs` too, and error with "unrecognised input file" or something like that?