You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rollup merge of #147262 - JonathanBrouwer:fix-link, r=jieyouxu
Make #[link="dl"] an FCW rather than an error
Fixes#147254
I forgot to implement the T-lang decision in #143193 (comment), this implements that decision
r? ``@jdonszelmann``
Can be reviewed commit-by-commit
This needs a beta backport
// Regression test for an issue discovered in https://github.com/rust-lang/rust/pull/143193/files and rediscovered in https://github.com/rust-lang/rust/issues/147254#event-20049906781
2
+
// Malformed #[link] attribute was supposed to be deny-by-default report-in-deps FCW,
3
+
// but accidentally was landed as a hard error.
4
+
//
5
+
// revision `default_fcw` tests that with `ill_formed_attribute_input` (the default) denied,
6
+
// the attribute produces an FCW
7
+
// revision `allowed` tests that with `ill_formed_attribute_input` allowed the test passes
0 commit comments