Open
Description
rustc --cap-lints=warn --cap-lints=foo
should give an error on the invalid "foo" passed, but currently this does nothing.
It is not completely clear what exact behavior we want on --cap-lints=allow --cap-lints=forbid
for example, though.
Currently this means that there's no way to override Cargo's default behavior on dependencies via RUSTFLAGS, for example.