File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ repository = "https://github.com/rust-lang/rust-bindgen"
12
12
documentation = " https://docs.rs/bindgen"
13
13
homepage = " https://rust-lang.github.io/rust-bindgen/"
14
14
version = " 0.70.1"
15
- edition = " 2018 "
15
+ edition = " 2021 "
16
16
rust-version = " 1.70.0"
17
17
18
18
[[bin ]]
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description = "A package to test various bindgen features"
4
4
version = " 0.1.0"
5
5
authors = [
" Emilio Cobos Álvarez <[email protected] >" ]
6
6
publish = false
7
- edition = " 2018 "
7
+ edition = " 2021 "
8
8
build = " build.rs"
9
9
10
10
[build-dependencies ]
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ fn test_matching_with_rename() {
259
259
260
260
#[ test]
261
261
fn test_macro_customintkind_path ( ) {
262
- let v: & std:: any:: Any = & bindings:: TESTMACRO_CUSTOMINTKIND_PATH ;
262
+ let v: & dyn std:: any:: Any = & bindings:: TESTMACRO_CUSTOMINTKIND_PATH ;
263
263
assert ! ( v. is:: <MacroInteger >( ) )
264
264
}
265
265
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " bindgen-tests"
3
- edition = " 2018 "
3
+ edition = " 2021 "
4
4
version = " 0.1.0"
5
5
publish = false
6
6
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ authors = [
7
7
" Emilio Cobos Álvarez <[email protected] >" ,
8
8
" The Servo project developers" ,
9
9
]
10
- edition = " 2018 "
10
+ edition = " 2021 "
11
11
publish = false
12
12
13
13
[dependencies ]
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description = "Bindgen property tests with quickcheck. Generate random valid C c
4
4
version = " 0.0.0"
5
5
publish = false
6
6
rust-version = " 1.70"
7
- edition = " 2018 "
7
+ edition = " 2021 "
8
8
9
9
[lib ]
10
10
name = " quickchecking"
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ repository = "https://github.com/rust-lang/rust-bindgen"
15
15
documentation = " https://docs.rs/bindgen"
16
16
homepage = " https://rust-lang.github.io/rust-bindgen/"
17
17
version = " 0.70.1"
18
- edition = " 2018 "
18
+ edition = " 2021 "
19
19
build = " build.rs"
20
20
# If you change this, also update README.md and msrv in .github/workflows/bindgen.yml
21
21
rust-version = " 1.70.0"
You can’t perform that action at this time.
0 commit comments