Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.4 KiB
36 lines
1.4 KiB
10 months ago
|
// Protocol Buffers - Google's data interchange format
|
||
|
// Copyright 2023 Google LLC. All rights reserved.
|
||
|
//
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file or at
|
||
|
// https://developers.google.com/open-source/licenses/bsd
|
||
|
|
||
|
//! Tests covering codegen of import public statements.
|
||
|
|
||
|
#[test]
|
||
|
fn test_import_public_types_are_reexported() {
|
||
|
let _: import_public_proto::PrimarySrcPubliclyImportedMsg;
|
||
|
let _: import_public_proto::PrimarySrcPubliclyImportedMsgView;
|
||
|
let _: import_public_proto::PrimarySrcPubliclyImportedMsgMut;
|
||
|
|
||
|
let _: import_public_proto::PrimarySrcPubliclyImportedEnum;
|
||
|
|
||
|
let _: import_public_proto::GrandparentMsg;
|
||
|
let _: import_public_proto::GrandparentMsgView;
|
||
|
let _: import_public_proto::GrandparentMsgMut;
|
||
|
|
||
|
let _: import_public_proto::GrandparentEnum;
|
||
|
|
||
|
let _: import_public_proto::NonPrimarySrcPubliclyImportedMsg1;
|
||
|
let _: import_public_proto::NonPrimarySrcPubliclyImportedMsg1View;
|
||
|
let _: import_public_proto::NonPrimarySrcPubliclyImportedMsg1Mut;
|
||
|
|
||
|
let _: import_public_proto::NonPrimarySrcPubliclyImportedEnum1;
|
||
|
|
||
|
let _: import_public_proto::NonPrimarySrcPubliclyImportedMsg2;
|
||
|
let _: import_public_proto::NonPrimarySrcPubliclyImportedMsg2View;
|
||
|
let _: import_public_proto::NonPrimarySrcPubliclyImportedMsg2Mut;
|
||
|
|
||
|
let _: import_public_proto::NonPrimarySrcPubliclyImportedEnum2;
|
||
|
}
|