Skip to content

Beta breaks my project: module resolution (?) #53263

Closed
@maghoff

Description

@maghoff

The CI build of my project Sausagewiki has started failing with the beta compiler channel. See the build log output:

error[E0433]: failed to resolve. Use of undeclared type or module `articles`
   --> src/state.rs:326:22
    |
326 |             #[derive(Insertable)]
    |                      ^^^^^^^^^^ Use of undeclared type or module `articles`

It still builds with the stable compiler, so this unfortunately looks like a regression in rustc.

This project makes substantial use of code generation in build.rs and with procedural derive macros.

Metadata

Metadata

Assignees

Labels

A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyregression-from-stable-to-betaPerformance or correctness regression from stable to beta.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions