Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
fix: disable warning for ambiguous_glob_reexports added in Rust 1.70
Browse files Browse the repository at this point in the history
  • Loading branch information
abenea committed Jun 4, 2023
1 parent d5f8425 commit c3315e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions proto/generate.ers
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ fn main() {
// Concatenate all this shit
let mut mod_file =
String::from("// This file is generated by `../proto/generate.ers`. Do not edit.\n\n");
mod_file.push_str("#![allow(ambiguous_glob_reexports)]\n\n");
for line in module_lines {
mod_file.push_str(line.as_str());
}
Expand Down
2 changes: 2 additions & 0 deletions src/messages/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// This file is generated by `../proto/generate.ers`. Do not edit.

#![allow(ambiguous_glob_reexports)]

mod cstrike15_gcmessages;
mod cstrike15_usermessages;
mod engine_gcmessages;
Expand Down

0 comments on commit c3315e4

Please sign in to comment.