diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-13 13:02:26 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-13 13:02:26 +0100 |
commit | 9beed98f2ab15f6d62283d09b6b96fa5f57a78d1 (patch) | |
tree | b9b28d597d793ce7c12ee0c347ffe0edf0e5327b /docs/user | |
parent | 03e0bf7f555ad4f3c8e127e009897b6fa83a6194 (diff) | |
parent | 26d2653dd64f139c89449cf4bab8bac737e930a5 (diff) |
Merge #8432
8432: decl_check: consider outer scopes' allows r=jonas-schievink a=lf-
Fix #8417. Also makes it less noisy about no_mangle annotated stuff the
user can do nothing about.
Note: this still is broken with bitfield! macros. A repro in an ignore
test is included here. I believe this bug is elsewhere, and I don't
think I can work around it here.
I would like help filing the remaining bug, as it does actually affect
users, but I don't know how to describe the behaviour (or even if it
is unintended).
Co-authored-by: Jade <[email protected]>
Diffstat (limited to 'docs/user')
-rw-r--r-- | docs/user/manual.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/user/manual.adoc b/docs/user/manual.adoc index e74b287fb..b86e91772 100644 --- a/docs/user/manual.adoc +++ b/docs/user/manual.adoc | |||
@@ -541,7 +541,7 @@ include::./generated_assists.adoc[] | |||
541 | == Diagnostics | 541 | == Diagnostics |
542 | 542 | ||
543 | While most errors and warnings provided by rust-analyzer come from the `cargo check` integration, there's a growing number of diagnostics implemented using rust-analyzer's own analysis. | 543 | While most errors and warnings provided by rust-analyzer come from the `cargo check` integration, there's a growing number of diagnostics implemented using rust-analyzer's own analysis. |
544 | These diagnostics don't respect `#[allow]` or `#[deny]` attributes yet, but can be turned off using the `rust-analyzer.diagnostics.enable`, `rust-analyzer.diagnostics.enableExperimental` or `rust-analyzer.diagnostics.disabled` settings. | 544 | Some of these diagnostics don't respect `\#[allow]` or `\#[deny]` attributes yet, but can be turned off using the `rust-analyzer.diagnostics.enable`, `rust-analyzer.diagnostics.enableExperimental` or `rust-analyzer.diagnostics.disabled` settings. |
545 | 545 | ||
546 | include::./generated_diagnostic.adoc[] | 546 | include::./generated_diagnostic.adoc[] |
547 | 547 | ||