/src/librustc_data_structures/lib.rs

https://gitlab.com/alx741/rust · Rust · 52 lines · 28 code · 7 blank · 17 comment · 0 complexity · dabd7885b89a1c5055735ecdab6d8606 MD5 · raw file

  1. // Copyright 2015 The Rust Project Developers. See the COPYRIGHT
  2. // file at the top-level directory of this distribution and at
  3. // http://rust-lang.org/COPYRIGHT.
  4. //
  5. // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
  6. // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
  7. // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
  8. // option. This file may not be copied, modified, or distributed
  9. // except according to those terms.
  10. //! Various data structures used by the Rust compiler. The intention
  11. //! is that code in here should be not be *specific* to rustc, so that
  12. //! it can be easily unit tested and so forth.
  13. //!
  14. //! # Note
  15. //!
  16. //! This API is completely unstable and subject to change.
  17. #![crate_name = "rustc_data_structures"]
  18. #![unstable(feature = "rustc_private", issue = "27812")]
  19. #![crate_type = "dylib"]
  20. #![crate_type = "rlib"]
  21. #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
  22. html_favicon_url = "https://www.rust-lang.org/favicon.ico",
  23. html_root_url = "https://doc.rust-lang.org/nightly/")]
  24. #![cfg_attr(not(stage0), deny(warnings))]
  25. #![feature(nonzero)]
  26. #![feature(rustc_private)]
  27. #![feature(staged_api)]
  28. #![cfg_attr(test, feature(test))]
  29. extern crate core;
  30. #[macro_use]
  31. extern crate log;
  32. extern crate serialize as rustc_serialize; // used by deriving
  33. pub mod bitvec;
  34. pub mod graph;
  35. pub mod ivar;
  36. pub mod obligation_forest;
  37. pub mod snapshot_vec;
  38. pub mod transitive_relation;
  39. pub mod unify;
  40. pub mod fnv;
  41. pub mod tuple_slice;
  42. pub mod veccell;
  43. // See comments in src/librustc/lib.rs
  44. #[doc(hidden)]
  45. pub fn __noop_fix_for_27438() {}