Skip to content

Add a parse_sess_created callback to rustc_interface::interface::Config #82900

Closed
@ghost

Description

imo this is fine, but we should look into figuring out the story around adding custom things to the depinfo in general. This seems like a larger topic (that may want to include proc macros and similar).

I think we should merge this as it is and then (once clippy is synced into the rustc repo) consider doing a change there that adds a parse_sess_created callback that allows you to modify the session right after it was created.

Originally posted by @oli-obk in rust-lang/rust-clippy#6834 (comment)

cc @flip1995

@rustbot label A-clippy

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions