Philipp Krones
a6df0277ea
Merge remote-tracking branch 'upstream/master' into rustup
2024-03-07 17:14:36 +01:00
bors
21efd39b04
Auto merge of #12423 - GuillaumeGomez:code-wrapped-element, r=Alexendoo
...
Don't emit "missing backticks" lint if the element is wrapped in `<code>` HTML tags
Fixes #9473 .
changelog: Don't emit "missing backticks" lint if the element is wrapped in `<code>` HTML tags
2024-03-05 14:02:54 +00:00
Guillaume Gomez
ee375e48be
Don't emit "missing backticks" lint if the element is wrapped in <code>
HTML tags
2024-03-05 12:06:51 +01:00
Samuel Moelius
cc4c8db0fd
Handle plural acronyms in doc_markdown
2024-03-04 22:00:24 +00:00
Nicholas Nethercote
b74b4b09d1
Rename all ParseSess
variables/fields/lifetimes as psess
.
...
Existing names for values of this type are `sess`, `parse_sess`,
`parse_session`, and `ps`. `sess` is particularly annoying because
that's also used for `Session` values, which are often co-located, and
it can be difficult to know which type a value named `sess` refers to.
(That annoyance is the main motivation for this change.) `psess` is nice
and short, which is good for a name used this much.
The commit also renames some `parse_sess_created` values as
`psess_created`.
2024-03-05 08:11:45 +11:00
Nicholas Nethercote
81100bd154
Rename DiagCtxt::with_emitter
as DiagCtxt::new
.
...
Because it's now the only constructor.
2024-02-29 16:30:12 +11:00
Nicholas Nethercote
2a2b0b78eb
Rename DiagnosticBuilder
as Diag
.
...
Much better!
Note that this involves renaming (and updating the value of)
`DIAGNOSTIC_BUILDER` in clippy.
2024-02-28 08:55:35 +11:00
Philipp Krones
7be6e2178e
Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update
2024-02-27 15:50:17 +01:00
lucarlig
fca77c0976
docs and imports
2024-02-26 19:15:44 +04:00
lucarlig
93deced553
change rs doc to no_run
2024-02-26 07:02:40 +04:00
lucarlig
5152050c5f
move lint directly into check_attrs
2024-02-25 23:17:03 +04:00
lucarlig
d84d9d32f1
lint on variant and fields as well
2024-02-25 22:33:16 +04:00
lucarlig
f066be7e1e
use span of fragments
2024-02-25 21:31:46 +04:00
lucarlig
d7ad85f521
move the the check into check_atr function
2024-02-25 21:26:43 +04:00
lucarlig
f32e92cdc9
add 1 more test and dont trim other code
2024-02-25 21:18:38 +04:00
lucarlig
97e4c57f24
fix lint doc
2024-02-25 17:51:58 +04:00
lucarlig
0ea449597e
pop before trimming
2024-02-25 17:23:15 +04:00
lucarlig
9ac6125e1d
add extra variant because no more than 3 bools
2024-02-25 17:16:07 +04:00
lucarlig
09c7c5d2c9
fix bug in check_exprs
2024-02-25 16:52:58 +04:00
lucarlig
84219f45a3
working naive with outside check_attrs
2024-02-25 16:11:14 +04:00
lucarlig
3093b291f6
WIP: empty doc span is still broken
2024-02-25 09:55:58 +04:00
Philipp Krones
f3b3d23416
Merge commit '60cb29c5e4f9772685c9873752196725c946a849' into clippyup
2024-02-08 20:24:42 +01:00
xFrednet
be47e32e9e
Update version attributes for 1.76 lints
2024-02-04 16:18:45 +01:00
Philipp Krones
798865c593
Merge commit '66c29b973b3b10278bd39f4e26b08522a379c2c9' into clippy-subtree-update
2024-01-25 19:17:36 +01:00
Philipp Krones
1534e08250
Merge remote-tracking branch 'upstream/master' into rustup
2024-01-25 18:39:39 +01:00
Nicholas Nethercote
fb83ef6495
Stop using DiagnosticBuilder::buffer
in the parser.
...
One consequence is that errors returned by
`maybe_new_parser_from_source_str` now must be consumed, so a bunch of
places that previously ignored those errors now cancel them. (Most of
them explicitly dropped the errors before. I guess that was to indicate
"we are explicitly ignoring these", though I'm not 100% sure.)
2024-01-11 18:37:56 +11:00
Nicholas Nethercote
0bac101c21
Rename EmitterWriter
as HumanEmitter
.
...
For consistency with other `Emitter` impls, such as `JsonEmitter`,
`SilentEmitter`, `SharedEmitter`, etc.
2024-01-05 10:02:40 +11:00
Michael Goulet
99b4330f5c
Remove movability from TyKind::Coroutine
2023-12-28 16:35:01 +00:00
Nicholas Nethercote
d165a38de0
Rename many DiagCtxt
and EarlyDiagCtxt
locals.
2023-12-18 16:06:22 +11:00
Nicholas Nethercote
bc3a3bcf0c
Rename ParseSess::with_span_handler
as ParseSess::with_dcx
.
2023-12-18 16:06:21 +11:00
Nicholas Nethercote
22e769c032
Rename Handler
as DiagCtxt
.
2023-12-18 16:06:19 +11:00
Philipp Krones
3596d44988
Merge commit 'a859e5cc1ce100df22346a1005da30532d04de59' into clippyup
2023-12-16 14:12:50 +01:00
Michael Goulet
1512d37af5
coro_kind -> coroutine_kind
2023-12-08 17:23:25 +00:00
Eric Holk
5f191ce9b9
Fix build
2023-12-04 16:46:45 -08:00
Eric Holk
594a5f18a7
Update doctest
2023-12-04 16:37:45 -08:00
Eric Holk
c9eb8c9df6
Remove bad merge
2023-12-04 14:38:10 -08:00
Eric Holk
45be5dd8e6
Option<CoroutineKind>
2023-12-04 13:03:37 -08:00
Eric Holk
b4e3b859f1
Merge Async and Gen into CoroutineKind
2023-12-04 12:48:01 -08:00
Philipp Krones
c9a43b18f1
Merge commit 'f0cdee4a3f094416189261481eae374b76792af1' into clippy-subtree-sync
2023-12-01 18:21:58 +01:00