about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2023-12-15 14:08:16 -0800
committerGitHub <noreply@github.com>2023-12-15 14:08:16 -0800
commitd517ae683e89ef53bba005c573d15d0fdd4e361f (patch)
tree2688b6441f482e882999bfc166efe616cfd1f6e7 /tests/codegen/src-hash-algorithm
parentd47b7bb7aa1d152dca81a47c50ecddc61435ffe9 (diff)
parent677ccca13b8e0f84b8dadbbff44d68e32df016d0 (diff)
downloadrust-d517ae683e89ef53bba005c573d15d0fdd4e361f.tar.gz
rust-d517ae683e89ef53bba005c573d15d0fdd4e361f.zip
Rollup merge of #118727 - compiler-errors:lint-decorate, r=WaffleLapkin
Don't pass lint back out of lint decorator

Change the decorator function in the signature of the `emit_lint`/`span_lint`/etc family of methods from `impl for<'a, 'b> FnOnce(&'b mut DiagnosticBuilder<'a, ()>) -> &'b mut DiagnosticBuilder<'a, ()>` to `impl for<'a, 'b> FnOnce(&'b mut DiagnosticBuilder<'a, ()>)`. I consider it easier to read this way, especially when there's control flow involved.

r? nnethercote though feel free to reassign
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions