Skip to content

Remove the difference between .rc and .rs files #2176

Closed
@brson

Description

@brson

This distinction seems to be confusing for newcomers and there is very little practical difference between the two. This would also help eliminate some of the confusing behavior of crate companion mods (#1277).

We would still need a way to signal to cargo which file is the crate file, so we could either keep the .rc extension (having it be the same as .rs), have it scan .rs files for a specific attribute, or add it to the cargo manifest.

Metadata

Metadata

Assignees

Labels

A-frontendArea: Compiler frontend (errors, parsing and HIR)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions