Commit Graph

3232 Commits

Author SHA1 Message Date
David Tolnay
318be9adf0
Raise minimum tested compiler to 1.74
Required by newest version of clap.

    error: package `clap v4.5.0` cannot be built because it requires rustc 1.74 or
    newer, while the currently active rustc version is 1.70.0
    Either upgrade to rustc 1.74 or newer, or use
    cargo update -p clap@4.5.0 --precise ver
    where `ver` is the latest version of `clap` supporting rustc 1.70.0
2024-02-08 19:17:39 -08:00
David Tolnay
be9ddf3c10
Update ui test suite to nightly-2024-02-01 2024-01-31 18:43:46 -08:00
David Tolnay
35d5d36d3e
Straggling Bazel-generated lockfile changes
Unclear what changed since the lockfile change generated by the
rules_rust 0.38.0 update to cause this.
2024-01-24 12:40:30 -08:00
David Tolnay
b1a3d5706e
Have install-buck2 action check out correct prelude commit 2024-01-24 12:04:46 -08:00
David Tolnay
3af293c495
Bazel rules_rust 0.38.0 2024-01-23 16:38:31 -08:00
David Tolnay
9f33e06907
Merge pull request #1309 from dtolnay/fallback
Remove pre-1.57 proc_macro2::fallback::force()
2024-01-20 17:17:12 -08:00
David Tolnay
8099e4d0ab
Remove pre-1.57 proc_macro2::fallback::force() 2024-01-20 17:13:02 -08:00
David Tolnay
a9ea68c5cd
Turn on wrong_self_convention clippy lint after false positive fix 2024-01-11 20:40:31 -08:00
David Tolnay
4908c69653
Ignore unconditional_recursion clippy lint due to false positive
https://github.com/rust-lang/rust-clippy/issues/12133

    warning: function cannot return without recursing
      --> gen/build/src/cargo.rs:91:5
       |
    91 | /     fn eq(&self, rhs: &Self) -> bool {
    92 | |         Lookup::new(&self.0).eq(Lookup::new(&rhs.0))
    93 | |     }
       | |_____^
       |
    note: recursive call site
      --> gen/build/src/cargo.rs:92:9
       |
    92 |         Lookup::new(&self.0).eq(Lookup::new(&rhs.0))
       |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unconditional_recursion
       = note: `-W clippy::unconditional-recursion` implied by `-W clippy::all`
       = help: to override `-W clippy::all` add `#[allow(clippy::unconditional_recursion)]`
2024-01-11 20:39:50 -08:00
David Tolnay
cc6fc0d3ae
Format clippy bug comments on the same line as the lint 2024-01-11 20:36:35 -08:00
David Tolnay
c9c26d5a23
Ignore map_clone clippy lint
warning: you are explicitly cloning with `.map()`
      --> gen/cmd/src/app.rs:72:32
       |
    72 |       let cxx_impl_annotations = matches
       |  ________________________________^
    73 | |         .get_one::<String>(CXX_IMPL_ANNOTATIONS)
    74 | |         .map(String::clone);
       | |___________________________^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
       = note: `-W clippy::map-clone` implied by `-W clippy::all`
       = help: to override `-W clippy::all` add `#[allow(clippy::map_clone)]`
    help: consider calling the dedicated `cloned` method
       |
    72 ~     let cxx_impl_annotations = matches
    73 ~         .get_one::<String>(CXX_IMPL_ANNOTATIONS).cloned();
       |
2024-01-11 20:34:48 -08:00
David Tolnay
4a46306996
Resolve thread_local_initializer_can_be_made_const clippy lint
warning: initializer for `thread_local` value can be made `const`
      --> tests/test.rs:20:34
       |
    20 |     static CORRECT: Cell<bool> = Cell::new(false);
       |                                  ^^^^^^^^^^^^^^^^ help: replace with: `const { Cell::new(false) }`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#thread_local_initializer_can_be_made_const
       = note: `-W clippy::thread-local-initializer-can-be-made-const` implied by `-W clippy::all`
       = help: to override `-W clippy::all` add `#[allow(clippy::thread_local_initializer_can_be_made_const)]`
2024-01-11 20:34:11 -08:00
David Tolnay
5ceca34a28
Release 1.0.115 2024-01-05 19:09:11 -08:00
David Tolnay
24c540f1b0
Lockfile update 2024-01-05 19:08:51 -08:00
David Tolnay
5bbe3e8606
Merge pull request #1303 from dtolnay/deadcode
Work around new dead_code warnings
2024-01-05 19:03:19 -08:00
David Tolnay
2e0af3bd06
Update ui test suite to nightly-2024-01-06 2024-01-05 18:58:33 -08:00
David Tolnay
92f405d4c8
Work around new dead_code warnings
warning: field `0` is never read
      --> macro/src/syntax/mod.rs:52:13
       |
    52 |     Include(Include),
       |     ------- ^^^^^^^
       |     |
       |     field in this variant
       |
       = note: `#[warn(dead_code)]` on by default
    help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
       |
    52 |     Include(()),
       |             ~~

    warning: fields `0` and `1` are never read
     --> macro/src/syntax/cfg.rs:9:8
      |
    9 |     Eq(Ident, Option<LitStr>),
      |     -- ^^^^^  ^^^^^^^^^^^^^^
      |     |
      |     fields in this variant
      |
    help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
      |
    9 |     Eq((), ()),
      |        ~~  ~~

    warning: field `0` is never read
      --> macro/src/syntax/cfg.rs:11:9
       |
    11 |     Any(Vec<CfgExpr>),
       |     --- ^^^^^^^^^^^^
       |     |
       |     field in this variant
       |
    help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
       |
    11 |     Any(()),
       |         ~~

    warning: field `0` is never read
      --> macro/src/syntax/cfg.rs:12:9
       |
    12 |     Not(Box<CfgExpr>),
       |     --- ^^^^^^^^^^^^
       |     |
       |     field in this variant
       |
    help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
       |
    12 |     Not(()),
       |         ~~

    warning: field `0` is never read
       --> src/lib.rs:551:13
        |
    551 | struct void(core::ffi::c_void);
        |        ---- ^^^^^^^^^^^^^^^^^
        |        |
        |        field in this struct
        |
        = note: `#[warn(dead_code)]` on by default
    help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
        |
    551 | struct void(());
        |             ~~

    warning: field `0` is never read
       --> tests/ffi/lib.rs:411:26
        |
    411 | pub struct Reference<'a>(&'a String);
        |            ---------     ^^^^^^^^^^
        |            |
        |            field in this struct
        |
        = note: `#[warn(dead_code)]` on by default
    help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
        |
    411 | pub struct Reference<'a>(());
        |                          ~~
2024-01-05 18:58:33 -08:00
David Tolnay
4b7012c9a0
Merge pull request #1302 from dennisschagt/tutorial-add-rerun-if-changed
Include printing of "cargo:rerun-if-changed" in tutorial
2024-01-05 14:24:28 -08:00
Dennis van der Schagt
ab8eddc3fb Include printing of "cargo:rerun-if-changed" in tutorial 2024-01-05 20:16:46 +01:00
David Tolnay
bf4df67be0
Use released version of rules_rust through Bazel Central Registry 2024-01-04 01:14:37 -08:00
David Tolnay
e6184c2a62
Release 1.0.114 2024-01-02 17:45:07 -08:00
David Tolnay
6d4a51b10c
Wrap PR 1298 to 80 columns 2024-01-02 17:44:58 -08:00
David Tolnay
b2477123a1
Merge pull request #1298 from adamchalmers/achalmers/document-how-to-implement-vectorelement
Document how to implement VectorElement
2024-01-02 17:38:21 -08:00
David Tolnay
f0fa65a7de
Merge pull request #1294 from dtolnay/bzlmod
Switch to bzlmod
2024-01-02 17:32:31 -08:00
David Tolnay
752d0439bf
Switch to bzlmod 2024-01-02 17:10:39 -08:00
David Tolnay
17f46ec7a5
Replace http_archive sha256 argument with integrity argument
Generated by:

    echo a761d54e49db06f863468e6bba4a13252b1bd499e8f706da65e279b3bcbc5c52 | xxd -p -r | base64
2024-01-02 16:07:58 -08:00
Adam Chalmers
08ce722e29
Document how to implement VectorElement
Fixes https://github.com/dtolnay/cxx/issues/1297
2024-01-02 18:00:41 -06:00
David Tolnay
08711cdc36
Bazel rules_rust 0.36.2 2024-01-02 15:50:54 -08:00
David Tolnay
2dc00a4e2d
Release 1.0.113 2024-01-01 22:37:48 -08:00
David Tolnay
71dcb59e6f
Lockfile update 2024-01-01 22:36:46 -08:00
David Tolnay
b7a9d8ee6b
Pull in proc-macro2 sccache fix 2024-01-01 22:35:57 -08:00
David Tolnay
5ae629804a
Release 1.0.112 2023-12-31 16:32:33 -08:00
David Tolnay
9e7e7294a8
Update gitignore for reindeer vendored registry 2023-12-31 16:31:25 -08:00
David Tolnay
5c6e853daf
Lockfile update 2023-12-31 16:31:25 -08:00
David Tolnay
381ed586e9
Bazel rules_rust 0.36.1 2023-12-31 16:03:35 -08:00
David Tolnay
a02447a83c
Merge pull request #1296 from dtolnay/doccfg
Restore documented cfg on cxx::Exception
2023-12-31 16:02:13 -08:00
David Tolnay
3d6cc92410
Restore documented cfg on cxx::Exception 2023-12-31 15:58:58 -08:00
David Tolnay
4808ad3048
Merge pull request #1295 from dtolnay/optionifletelse
Remove option_if_let_else clippy suppression
2023-12-30 14:48:36 -08:00
David Tolnay
a1c0f2d5d0
Remove option_if_let_else clippy suppression 2023-12-30 14:45:28 -08:00
David Tolnay
9dce25b9f1
Bump Bazel build to rustc 1.75.0 2023-12-28 11:00:50 -08:00
David Tolnay
13c3d97308
Format tests/BUCK with buildifier 2023-12-28 10:06:19 -08:00
David Tolnay
3fad38ca93
Bazel rules_rust 0.36.0 2023-12-28 10:04:10 -08:00
David Tolnay
3c1bcc012f
Bazel rules_rust 0.35.0 2023-12-27 16:19:26 -08:00
David Tolnay
a666000c85
Release 1.0.111 2023-12-16 18:50:22 -08:00
David Tolnay
0d8bb04674
Lockfile update 2023-12-16 18:47:19 -08:00
David Tolnay
97d933a237
Regenerate bazel targets for third-party deps 2023-12-16 18:44:25 -08:00
David Tolnay
ae7c6e3301
Bazel rules_rust 0.34.1 2023-12-16 18:41:58 -08:00
David Tolnay
6874ecd09c
Suppress no_effect_underscore_binding pedantic clippy lint in generated code
warning: binding to `_` prefixed variable with no side-effect
      --> tests/ffi/module.rs:15:19
       |
    15 |     impl Vec<Job> {}
       |                   ^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding
       = note: `-W clippy::no-effect-underscore-binding` implied by `-W clippy::pedantic`
       = help: to override `-W clippy::pedantic` add `#[allow(clippy::no_effect_underscore_binding)]`

    warning: binding to `_` prefixed variable with no side-effect
      --> tests/ffi/module.rs:15:19
       |
    15 |     impl Vec<Job> {}
       |                   ^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:168:58
        |
    168 |         fn c_take_callback(callback: fn(String) -> usize);
        |                                                          ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:169:54
        |
    169 |         fn c_take_callback_ref(callback: fn(&String));
        |                                                      ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:171:70
        |
    171 |         fn c_take_callback_ref_lifetime<'a>(callback: fn(&'a String));
        |                                                                      ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:172:58
        |
    172 |         fn c_take_callback_mut(callback: fn(&mut String));
        |                                                          ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
      --> tests/ffi/lib.rs:28:28
       |
    28 |     #[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
       |                            ^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
      --> tests/ffi/lib.rs:28:43
       |
    28 |     #[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
       |                                           ^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
      --> tests/ffi/lib.rs:33:14
       |
    33 |     #[derive(PartialEq, PartialOrd)]
       |              ^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
      --> tests/ffi/lib.rs:33:25
       |
    33 |     #[derive(PartialEq, PartialOrd)]
       |                         ^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
      --> tests/ffi/lib.rs:79:14
       |
    79 |     #[derive(Hash)]
       |              ^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
      --> tests/ffi/lib.rs:90:47
       |
    90 |     #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
       |                                               ^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
      --> tests/ffi/lib.rs:90:58
       |
    90 |     #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
       |                                                          ^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
      --> tests/ffi/lib.rs:90:69
       |
    90 |     #[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
       |                                                                     ^^^^^^^^^^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:264:41
        |
    264 |         fn r_return_primitive() -> usize;
        |                                         ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:265:39
        |
    265 |         fn r_return_shared() -> Shared;
        |                                       ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:266:36
        |
    266 |         fn r_return_box() -> Box<R>;
        |                                    ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:267:49
        |
    267 |         fn r_return_unique_ptr() -> UniquePtr<C>;
        |                                                 ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:268:49
        |
    268 |         fn r_return_shared_ptr() -> SharedPtr<C>;
        |                                                 ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:269:51
        |
    269 |         fn r_return_ref(shared: &Shared) -> &usize;
        |                                                   ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:270:59
        |
    270 |         fn r_return_mut(shared: &mut Shared) -> &mut usize;
        |                                                           ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:271:49
        |
    271 |         fn r_return_str(shared: &Shared) -> &str;
        |                                                 ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:272:54
        |
    272 |         fn r_return_sliceu8(shared: &Shared) -> &[u8];
        |                                                      ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:273:62
        |
    273 |         fn r_return_mutsliceu8(slice: &mut [u8]) -> &mut [u8];
        |                                                              ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:274:44
        |
    274 |         fn r_return_rust_string() -> String;
        |                                            ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:275:64
        |
    275 |         fn r_return_unique_ptr_string() -> UniquePtr<CxxString>;
        |                                                                ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:276:42
        |
    276 |         fn r_return_rust_vec() -> Vec<u8>;
        |                                          ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:277:53
        |
    277 |         fn r_return_rust_vec_string() -> Vec<String>;
        |                                                     ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:278:57
        |
    278 |         fn r_return_rust_vec_extern_struct() -> Vec<Job>;
        |                                                         ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:279:62
        |
    279 |         fn r_return_ref_rust_vec(shared: &Shared) -> &Vec<u8>;
        |                                                              ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:280:70
        |
    280 |         fn r_return_mut_rust_vec(shared: &mut Shared) -> &mut Vec<u8>;
        |                                                                      ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:281:48
        |
    281 |         fn r_return_identity(_: usize) -> usize;
        |                                                ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:282:53
        |
    282 |         fn r_return_sum(_: usize, _: usize) -> usize;
        |                                                     ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:283:41
        |
    283 |         fn r_return_enum(n: u32) -> Enum;
        |                                         ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:285:38
        |
    285 |         fn r_take_primitive(n: usize);
        |                                      ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:286:41
        |
    286 |         fn r_take_shared(shared: Shared);
        |                                         ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:287:33
        |
    287 |         fn r_take_box(r: Box<R>);
        |                                 ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:288:46
        |
    288 |         fn r_take_unique_ptr(c: UniquePtr<C>);
        |                                              ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:289:46
        |
    289 |         fn r_take_shared_ptr(c: SharedPtr<C>);
        |                                              ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:290:31
        |
    290 |         fn r_take_ref_r(r: &R);
        |                               ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:291:31
        |
    291 |         fn r_take_ref_c(c: &C);
        |                               ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:292:31
        |
    292 |         fn r_take_str(s: &str);
        |                               ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:293:43
        |
    293 |         fn r_take_slice_char(s: &[c_char]);
        |                                           ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:294:41
        |
    294 |         fn r_take_rust_string(s: String);
        |                                         ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:295:61
        |
    295 |         fn r_take_unique_ptr_string(s: UniquePtr<CxxString>);
        |                                                             ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:296:48
        |
    296 |         fn r_take_ref_vector(v: &CxxVector<u8>);
        |                                                ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:297:55
        |
    297 |         fn r_take_ref_empty_vector(v: &CxxVector<u64>);
        |                                                       ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:298:39
        |
    298 |         fn r_take_rust_vec(v: Vec<u8>);
        |                                       ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:299:50
        |
    299 |         fn r_take_rust_vec_string(v: Vec<String>);
        |                                                  ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:300:44
        |
    300 |         fn r_take_ref_rust_vec(v: &Vec<u8>);
        |                                            ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:301:55
        |
    301 |         fn r_take_ref_rust_vec_string(v: &Vec<String>);
        |                                                       ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:302:32
        |
    302 |         fn r_take_enum(e: Enum);
        |                                ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:304:45
        |
    304 |         fn r_try_return_void() -> Result<()>;
        |                                             ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:305:53
        |
    305 |         fn r_try_return_primitive() -> Result<usize>;
        |                                                     ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:306:48
        |
    306 |         fn r_try_return_box() -> Result<Box<R>>;
        |                                                ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:307:54
        |
    307 |         fn r_fail_return_primitive() -> Result<usize>;
        |                                                      ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:308:59
        |
    308 |         fn r_try_return_sliceu8(s: &[u8]) -> Result<&[u8]>;
        |                                                           ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:309:70
        |
    309 |         fn r_try_return_mutsliceu8(s: &mut [u8]) -> Result<&mut [u8]>;
        |                                                                      ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:311:34
        |
    311 |         fn get(self: &R) -> usize;
        |                                  ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:312:48
        |
    312 |         fn set(self: &mut R, n: usize) -> usize;
        |                                                ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:313:55
        |
    313 |         fn r_method_on_shared(self: &Shared) -> String;
        |                                                       ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:314:48
        |
    314 |         fn r_get_array_sum(self: &Array) -> i32;
        |                                                ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:317:48
        |
    317 |         fn r_aliased_function(x: i32) -> String;
        |                                                ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:341:22
        |
    341 |     impl Box<Shared> {}
        |                      ^^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
      --> tests/ffi/lib.rs:75:27
       |
    75 |         second: Box<Second>,
       |                           ^
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:102:35
        |
    102 |         fn c_return_box() -> Box<R>;
        |                                   ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:154:48
        |
    154 |         fn c_take_rust_vec_shared(v: Vec<Shared>);
        |                                                ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:178:52
        |
    178 |         fn c_take_rust_vec_ns_shared(v: Vec<AShared>);
        |                                                    ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:179:60
        |
    179 |         fn c_take_rust_vec_nested_ns_shared(v: Vec<ABShared>);
        |                                                            ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding

    warning: binding to `_` prefixed variable with no side-effect
       --> tests/ffi/lib.rs:326:22
        |
    326 |         vec: Vec<Dag3>,
        |                      ^
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding
2023-12-16 18:37:25 -08:00
David Tolnay
dbd3704827
Update ui test suite to nightly-2023-12-15 2023-12-14 19:19:50 -08:00
David Tolnay
c96397721c
Add MODULE.bazel.lock generated by bazel 7.0.0 2023-12-12 19:28:07 -08:00