Skip to content

Commit 39ff4ea

Browse files
cramertjcopybara-github
authored andcommitted
Globally release operator lifetime inference
PiperOrigin-RevId: 828078466
1 parent 3aeb11d commit 39ff4ea

File tree

68 files changed

+420
-363
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+420
-363
lines changed

cc_bindings_from_rs/test/aliasing_references/aliasing_references_cc_api.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// aliasing_references_golden
7-
// Features: non_unpin_ctor, std_unique_ptr, std_vector, supported
7+
// Features: infer_operator_lifetimes, non_unpin_ctor, std_unique_ptr,
8+
// std_vector, supported
89

910
// clang-format off
1011
#ifndef THIRD_PARTY_CRUBIT_CC_BINDINGS_FROM_RS_TEST_ALIASING_REFERENCES_ALIASING_REFERENCES_GOLDEN

cc_bindings_from_rs/test/aliasing_references/aliasing_references_cc_api_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// aliasing_references_golden
7-
// Features: non_unpin_ctor, std_unique_ptr, std_vector, supported
7+
// Features: infer_operator_lifetimes, non_unpin_ctor, std_unique_ptr, std_vector, supported
88

99
#![allow(unused_unsafe, deprecated, non_snake_case, unreachable_code)]
1010
#![allow(improper_ctypes_definitions)]

cc_bindings_from_rs/test/arrays/arrays_cc_api.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// arrays_golden
7-
// Features: non_unpin_ctor, std_unique_ptr, std_vector, supported
7+
// Features: infer_operator_lifetimes, non_unpin_ctor, std_unique_ptr,
8+
// std_vector, supported
89

910
// clang-format off
1011
#ifndef THIRD_PARTY_CRUBIT_CC_BINDINGS_FROM_RS_TEST_ARRAYS_ARRAYS_GOLDEN

cc_bindings_from_rs/test/arrays/arrays_cc_api_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// arrays_golden
7-
// Features: non_unpin_ctor, std_unique_ptr, std_vector, supported
7+
// Features: infer_operator_lifetimes, non_unpin_ctor, std_unique_ptr, std_vector, supported
88

99
#![allow(unused_unsafe, deprecated, non_snake_case, unreachable_code)]
1010
#![allow(improper_ctypes_definitions)]

cc_bindings_from_rs/test/attribute/cpp_name_cc_api.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// cpp_name_golden
7-
// Features: non_unpin_ctor, std_unique_ptr, std_vector, supported
7+
// Features: infer_operator_lifetimes, non_unpin_ctor, std_unique_ptr,
8+
// std_vector, supported
89

910
// clang-format off
1011
#ifndef THIRD_PARTY_CRUBIT_CC_BINDINGS_FROM_RS_TEST_ATTRIBUTE_CPP_NAME_GOLDEN

cc_bindings_from_rs/test/attribute/cpp_name_cc_api_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// cpp_name_golden
7-
// Features: non_unpin_ctor, std_unique_ptr, std_vector, supported
7+
// Features: infer_operator_lifetimes, non_unpin_ctor, std_unique_ptr, std_vector, supported
88

99
#![allow(unused_unsafe, deprecated, non_snake_case, unreachable_code)]
1010
#![allow(improper_ctypes_definitions)]

cc_bindings_from_rs/test/attribute/must_bind_cc_api.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// must_bind_golden
7-
// Features: non_unpin_ctor, std_unique_ptr, std_vector, supported
7+
// Features: infer_operator_lifetimes, non_unpin_ctor, std_unique_ptr,
8+
// std_vector, supported
89

910
// clang-format off
1011
#ifndef THIRD_PARTY_CRUBIT_CC_BINDINGS_FROM_RS_TEST_ATTRIBUTE_MUST_BIND_GOLDEN

cc_bindings_from_rs/test/attribute/must_bind_cc_api_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// must_bind_golden
7-
// Features: non_unpin_ctor, std_unique_ptr, std_vector, supported
7+
// Features: infer_operator_lifetimes, non_unpin_ctor, std_unique_ptr, std_vector, supported
88

99
#![allow(unused_unsafe, deprecated, non_snake_case, unreachable_code)]
1010
#![allow(improper_ctypes_definitions)]

cc_bindings_from_rs/test/bridging/protobuf/rust_lib_cc_api.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// rust_lib_golden
7-
// Features: non_unpin_ctor, std_unique_ptr, std_vector, supported
7+
// Features: infer_operator_lifetimes, non_unpin_ctor, std_unique_ptr,
8+
// std_vector, supported
89

910
// clang-format off
1011
#ifndef THIRD_PARTY_CRUBIT_CC_BINDINGS_FROM_RS_TEST_BRIDGING_PROTOBUF_RUST_LIB_GOLDEN

cc_bindings_from_rs/test/bridging/protobuf/rust_lib_cc_api_impl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Automatically @generated C++ bindings for the following Rust crate:
66
// rust_lib_golden
7-
// Features: non_unpin_ctor, std_unique_ptr, std_vector, supported
7+
// Features: infer_operator_lifetimes, non_unpin_ctor, std_unique_ptr, std_vector, supported
88

99
#![allow(unused_unsafe, deprecated, non_snake_case, unreachable_code)]
1010
#![allow(improper_ctypes_definitions)]

0 commit comments

Comments
 (0)