Skip to content

1.95 beta regression: "imports need to be explicitly named" #153851

@theemathas

Description

@theemathas

Regression found by the 1.95 beta crater run.

[INFO] [stdout] error: imports need to be explicitly named
[INFO] [stdout]   --> src/lib.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | / rutie_serde_methods!(
[INFO] [stdout] 22 | |     SemanticAnalyzer,
[INFO] [stdout] 23 | |     _rtself,
[INFO] [stdout] 24 | |     ruby_class!(Exception),
[INFO] [stdout] ...  |
[INFO] [stdout] 37 | | );
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `rutie_serde_methods` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: try renaming it with a name
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rutie-serde-0.3.0/src/macros.rs:55:30
[INFO] [stdout]    |
[INFO] [stdout] 55 |             use $crate::{self as name, DeserializeWrapper, IntoAnyObject, IntoException, ResultExt};
[INFO] [stdout]    |                               +++++++

https://crater-reports.s3.amazonaws.com/beta-1.95-3/1.95.0-beta.3/gh/kind-io.semantic_analysis/log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)A-resolveArea: Name/path resolution done by `rustc_resolve` specificallyC-bugCategory: This is a bug.T-langRelevant to the language teamregression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions