Skip to content

Add non-lint advice messages controlled through a [advice] lint table #16247

@epage

Description

@epage

Problem

We have many situations where people would find additional information useful for new users at the cost of output blot.

Potential cases

Proposed Solution

Add a non-lint advice. This is meant to be slightly more verbose output of helpful suggestions that the user can turn off for less output, similar to git.

A fundamental difference between a lint and advice is that a lint is focused on the project while advice is focused on the user.

Notes

#9936 would be helpful so we can easily tell people how to disable advice

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-configurationArea: cargo config files and env varsA-diagnosticsArea: Error and warning messages generated by Cargo itself.C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions