11//! Generated by `sourcegen_diagnostic_docs`, do not edit by hand.
22
33=== break-outside-of-loop
4- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/break_outside_of_loop.rs#L3[break_outside_of_loop.rs]
4+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/break_outside_of_loop.rs#L3[break_outside_of_loop.rs]
55
66This diagnostic is triggered if the `break` keyword is used outside of a loop.
77
88
99=== inactive-code
10- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/inactive_code.rs#L6[inactive_code.rs]
10+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/inactive_code.rs#L6[inactive_code.rs]
1111
1212This diagnostic is shown for code with inactive `#[cfg]` attributes.
1313
1414
1515=== incorrect-ident-case
16- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/incorrect_case.rs#L13[incorrect_case.rs]
16+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/incorrect_case.rs#L13[incorrect_case.rs]
1717
1818This diagnostic is triggered if an item name doesn't follow https://doc.rust-lang.org/1.0.0/style/style/naming/README.html[Rust naming convention].
1919
2020
2121=== invalid-derive-target
22- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/invalid_derive_target.rs#L3[invalid_derive_target.rs]
22+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/invalid_derive_target.rs#L3[invalid_derive_target.rs]
2323
2424This diagnostic is shown when the derive attribute is used on an item other than a `struct`,
2525`enum` or `union`.
2626
2727
2828=== macro-error
29- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/macro_error.rs#L3[macro_error.rs]
29+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/macro_error.rs#L3[macro_error.rs]
3030
3131This diagnostic is shown for macro expansion errors.
3232
3333
3434=== malformed-derive
35- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/malformed_derive.rs#L3[malformed_derive.rs]
35+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/malformed_derive.rs#L3[malformed_derive.rs]
3636
3737This diagnostic is shown when the derive attribute has invalid input.
3838
3939
4040=== mismatched-arg-count
41- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/mismatched_arg_count.rs#L10[mismatched_arg_count.rs]
41+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/mismatched_arg_count.rs#L10[mismatched_arg_count.rs]
4242
4343This diagnostic is triggered if a function is invoked with an incorrect amount of arguments.
4444
4545
4646=== missing-fields
47- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/missing_fields.rs#L17[missing_fields.rs]
47+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/missing_fields.rs#L17[missing_fields.rs]
4848
4949This diagnostic is triggered if record lacks some fields that exist in the corresponding structure.
5050
@@ -58,83 +58,83 @@ let a = A { a: 10 };
5858
5959
6060=== missing-match-arm
61- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/missing_match_arms.rs#L5[missing_match_arms.rs]
61+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/missing_match_arms.rs#L5[missing_match_arms.rs]
6262
6363This diagnostic is triggered if `match` block is missing one or more match arms.
6464
6565
6666=== missing-unsafe
67- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/missing_unsafe.rs#L3[missing_unsafe.rs]
67+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/missing_unsafe.rs#L3[missing_unsafe.rs]
6868
6969This diagnostic is triggered if an operation marked as `unsafe` is used outside of an `unsafe` function or block.
7070
7171
7272=== no-such-field
73- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/no_such_field.rs#L11[no_such_field.rs]
73+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/no_such_field.rs#L11[no_such_field.rs]
7474
7575This diagnostic is triggered if created structure does not have field provided in record.
7676
7777
7878=== replace-filter-map-next-with-find-map
79- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/replace_filter_map_next_with_find_map.rs#L11[replace_filter_map_next_with_find_map.rs]
79+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/replace_filter_map_next_with_find_map.rs#L11[replace_filter_map_next_with_find_map.rs]
8080
8181This diagnostic is triggered when `.filter_map(..).next()` is used, rather than the more concise `.find_map(..)`.
8282
8383
8484=== type-mismatch
85- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/type_mismatch.rs#L11[type_mismatch.rs]
85+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/type_mismatch.rs#L11[type_mismatch.rs]
8686
8787This diagnostic is triggered when the type of an expression does not match
8888the expected type.
8989
9090
9191=== unimplemented-builtin-macro
92- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unimplemented_builtin_macro.rs#L3[unimplemented_builtin_macro.rs]
92+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unimplemented_builtin_macro.rs#L3[unimplemented_builtin_macro.rs]
9393
9494This diagnostic is shown for builtin macros which are not yet implemented by rust-analyzer
9595
9696
9797=== unlinked-file
98- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unlinked_file.rs#L17[unlinked_file.rs]
98+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unlinked_file.rs#L17[unlinked_file.rs]
9999
100100This diagnostic is shown for files that are not included in any crate, or files that are part of
101101crates rust-analyzer failed to discover. The file will not have IDE features available.
102102
103103
104104=== unnecessary-braces
105- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/useless_braces.rs#L8[useless_braces.rs]
105+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/useless_braces.rs#L8[useless_braces.rs]
106106
107107Diagnostic for unnecessary braces in `use` items.
108108
109109
110110=== unresolved-extern-crate
111- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_extern_crate.rs#L3[unresolved_extern_crate.rs]
111+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_extern_crate.rs#L3[unresolved_extern_crate.rs]
112112
113113This diagnostic is triggered if rust-analyzer is unable to discover referred extern crate.
114114
115115
116116=== unresolved-import
117- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_import.rs#L3[unresolved_import.rs]
117+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_import.rs#L3[unresolved_import.rs]
118118
119119This diagnostic is triggered if rust-analyzer is unable to resolve a path in
120120a `use` declaration.
121121
122122
123123=== unresolved-macro-call
124- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_macro_call.rs#L3[unresolved_macro_call.rs]
124+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_macro_call.rs#L3[unresolved_macro_call.rs]
125125
126126This diagnostic is triggered if rust-analyzer is unable to resolve the path
127127to a macro in a macro invocation.
128128
129129
130130=== unresolved-module
131- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_module.rs#L8[unresolved_module.rs]
131+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_module.rs#L8[unresolved_module.rs]
132132
133133This diagnostic is triggered if rust-analyzer is unable to discover referred module.
134134
135135
136136=== unresolved-proc-macro
137- **Source:** https://github.com/rust-analyzer /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_proc_macro.rs#L5[unresolved_proc_macro.rs]
137+ **Source:** https://github.com/rust-lang /rust-analyzer/blob/master/crates/ide-diagnostics/src/handlers/unresolved_proc_macro.rs#L5[unresolved_proc_macro.rs]
138138
139139This diagnostic is shown when a procedural macro can not be found. This usually means that
140140procedural macro support is simply disabled (and hence is only a weak hint instead of an error),
0 commit comments