File tree 5 files changed +8
-8
lines changed
godot-core/src/builtin/string
5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 17
17
18
18
env :
19
19
# Applies to all 'register-docs' features across crates.
20
- CLIPPY_FEATURES : ' --features register-docs'
20
+ CLIPPY_FEATURES : ' --features register-docs,godot/experimental-godot-api,godot/serde '
21
21
TEST_FEATURES : ' '
22
22
RETRY : ${{ github.workspace }}/.github/other/retry.sh
23
23
Original file line number Diff line number Diff line change 22
22
23
23
env :
24
24
# Applies to all 'register-docs' features across crates.
25
- CLIPPY_FEATURES : ' --features register-docs'
25
+ CLIPPY_FEATURES : ' --features register-docs,godot/experimental-godot-api,godot/serde '
26
26
TEST_FEATURES : ' '
27
27
# GDEXT_CRATE_ARGS: '-p godot-codegen -p godot-ffi -p godot-core -p godot-macros -p godot'
28
28
RETRY : ${{ github.workspace }}/.github/other/retry.sh
Original file line number Diff line number Diff line change 14
14
- ' v0.[0-9]+.[0-9]+'
15
15
16
16
env :
17
- # Note: used for test and clippy, not for publish
18
- GDEXT_FEATURES : " --features godot/experimental-godot-api,godot/codegen-rustfmt,godot/serde"
17
+ # Note: used for test and clippy, not for publish. Test features are different from other CIs.
18
+ CLIPPY_TEST_FEATURES : " --features godot/experimental-godot-api,godot/codegen-rustfmt,godot/serde"
19
19
20
20
# Crates to publish -- important, this doesn't work when there are spaces in any of the paths!
21
21
# Keep in sync with update-version.sh
@@ -108,7 +108,7 @@ jobs:
108
108
run : rustup update stable
109
109
110
110
- name : " Compile and run test"
111
- run : cargo test $GDEXT_FEATURES
111
+ run : cargo test $CLIPPY_TEST_FEATURES
112
112
113
113
clippy :
114
114
runs-on : ubuntu-latest
@@ -121,7 +121,7 @@ jobs:
121
121
122
122
- name : " Check clippy"
123
123
run : |
124
- cargo clippy --all-targets $GDEXT_FEATURES -- \
124
+ cargo clippy --all-targets $CLIPPY_TEST_FEATURES -- \
125
125
-D clippy::suspicious \
126
126
-D clippy::style \
127
127
-D clippy::complexity \
Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ mod serialize {
384
384
D : Deserializer < ' de > ,
385
385
{
386
386
struct GStringVisitor ;
387
- impl < ' de > Visitor < ' de > for GStringVisitor {
387
+ impl Visitor < ' _ > for GStringVisitor {
388
388
type Value = GString ;
389
389
390
390
fn expecting ( & self , formatter : & mut Formatter ) -> fmt:: Result {
Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ mod serialize {
421
421
D : Deserializer < ' de > ,
422
422
{
423
423
struct StringNameVisitor ;
424
- impl < ' de > Visitor < ' de > for StringNameVisitor {
424
+ impl Visitor < ' _ > for StringNameVisitor {
425
425
type Value = StringName ;
426
426
427
427
fn expecting ( & self , formatter : & mut Formatter ) -> fmt:: Result {
You can’t perform that action at this time.
0 commit comments