Support displaying shortcodes instead of Emojis in messages #329
Annotations
7 errors and 4 warnings
test (ubuntu-latest)
reviewdog exited with status code: 1
|
test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|
test (windows-latest)
Error: Unable to locate executable file: undefined. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.
|
test (windows-latest)
Unable to locate executable file: undefined. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.
|
test (windows-latest)
The operation was canceled.
|
test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
|
test (macos-latest)
The operation was canceled.
|
test (ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, mozilla-actions/sccache-action@v0.0.3, giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (ubuntu-latest):
src/util.rs#L159
[clippy] reported by reviewdog 🐶
warning: redundant closure
--> src/util.rs:159:19
|
159 | graphemes.map(|x| replace_emoji_in_grapheme(x)).collect()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `replace_emoji_in_grapheme`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[warn(clippy::redundant_closure)]` on by default
Raw Output:
src/util.rs:159:19:w:warning: redundant closure
--> src/util.rs:159:19
|
159 | graphemes.map(|x| replace_emoji_in_grapheme(x)).collect()
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `replace_emoji_in_grapheme`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `#[warn(clippy::redundant_closure)]` on by default
__END__
|
test (ubuntu-latest):
src/util.rs#L162
[clippy] reported by reviewdog 🐶
warning: the following explicit lifetimes could be elided: 'a
--> src/util.rs:162:1
|
162 | pub fn replace_emojis_in_span<'a>(span: &mut Span<'a>) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
162 - pub fn replace_emojis_in_span<'a>(span: &mut Span<'a>) {
162 + pub fn replace_emojis_in_span(span: &mut Span<'_>) {
|
Raw Output:
src/util.rs:162:1:w:warning: the following explicit lifetimes could be elided: 'a
--> src/util.rs:162:1
|
162 | pub fn replace_emojis_in_span<'a>(span: &mut Span<'a>) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
162 - pub fn replace_emojis_in_span<'a>(span: &mut Span<'a>) {
162 + pub fn replace_emojis_in_span(span: &mut Span<'_>) {
|
__END__
|
test (ubuntu-latest):
src/util.rs#L166
[clippy] reported by reviewdog 🐶
warning: the following explicit lifetimes could be elided: 'a
--> src/util.rs:166:1
|
166 | pub fn replace_emojis_in_line<'a>(line: &mut Line<'a>) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
166 - pub fn replace_emojis_in_line<'a>(line: &mut Line<'a>) {
166 + pub fn replace_emojis_in_line(line: &mut Line<'_>) {
|
Raw Output:
src/util.rs:166:1:w:warning: the following explicit lifetimes could be elided: 'a
--> src/util.rs:166:1
|
166 | pub fn replace_emojis_in_line<'a>(line: &mut Line<'a>) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
166 - pub fn replace_emojis_in_line<'a>(line: &mut Line<'a>) {
166 + pub fn replace_emojis_in_line(line: &mut Line<'_>) {
|
__END__
|