[roll] Roll fuchsia [fidl][rust] Remove #![allow(deprecated)] from bindings

This CL removes the whole-file #![allow(deprecated)] from generated Rust
bindings, replacing it with #[allow(deprecated)] at specific locations
where deprecated code is used. The whole-file attribute is too broad,
and prevents us from noticing any unintentional use of deprecated APIs.

"Deprecated code" includes truly deprecated things like ServerSender and
RequestMessage, as well as APIs that are marked deprecated to discourage
direct use in user code, such as unknown union variants.

Test: fx build tools/fidl/fidlgen_rust:goldens
Test: fx test fidlgen_rust_golden_tests
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/517320
Original-Revision: b2b41dae59270354150b52a98dfed3a896f49753
GitOrigin-RevId: 0fb1d6c785f48ccd66f860a3dac48fdc7cec22ce
Change-Id: I84389c12b2bf2c087dfb6ea9edde52edf254c795
1 file changed
tree: cfbf2ea9633d2ce5b8faeb29c6bc0093a963757e
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. firmware
  8. flower
  9. jiri.lock
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.