| /third_party/rust/rust/tests/ui/resolve/ |
| D | no-implicit-prelude-nested.stderr | 2 --> $DIR/no-implicit-prelude-nested.rs:11:14 13 --> $DIR/no-implicit-prelude-nested.rs:12:14 24 --> $DIR/no-implicit-prelude-nested.rs:13:14 35 --> $DIR/no-implicit-prelude-nested.rs:14:14 46 --> $DIR/no-implicit-prelude-nested.rs:15:14 52 --> $DIR/no-implicit-prelude-nested.rs:18:13 63 --> $DIR/no-implicit-prelude-nested.rs:23:10 74 --> $DIR/no-implicit-prelude-nested.rs:24:10 85 --> $DIR/no-implicit-prelude-nested.rs:25:10 96 --> $DIR/no-implicit-prelude-nested.rs:26:10 [all …]
|
| D | extern-prelude.rs | 3 // aux-build:extern-prelude.rs 4 // aux-build:extern-prelude-vec.rs 13 // Local module shadows `extern_prelude` from extern prelude in shadow_mod() 27 // Extern prelude shadows standard library prelude in shadow_prelude()
|
| D | no-implicit-prelude.stderr | 2 --> $DIR/no-implicit-prelude.rs:10:6 13 --> $DIR/no-implicit-prelude.rs:11:6 24 --> $DIR/no-implicit-prelude.rs:12:6 35 --> $DIR/no-implicit-prelude.rs:13:6 46 --> $DIR/no-implicit-prelude.rs:14:6 52 --> $DIR/no-implicit-prelude.rs:17:5
|
| /third_party/rust/rust/library/std/src/prelude/ |
| D | mod.rs | 1 //! # The Rust Prelude 8 //! The *prelude* is the list of things that Rust automatically imports into 17 //! such as [`std::io::prelude`]. Various libraries in the Rust ecosystem may 20 //! [`std::io::prelude`]: crate::io::prelude 22 //! The difference between 'the prelude' and these other preludes is that they 26 //! # Prelude contents 28 //! The first version of the prelude is used in Rust 2015 and Rust 2018, 29 //! and lives in [`std::prelude::v1`]. 30 //! [`std::prelude::rust_2015`] and [`std::prelude::rust_2018`] re-export this prelude. 63 //! The prelude used in Rust 2021, [`std::prelude::rust_2021`], includes all of the above, [all …]
|
| D | v1.rs | 1 //! The first version of the prelude of The Rust Standard Library. 41 pub use core::prelude::v1::{ 53 pub use core::prelude::v1::concat_bytes; 58 pub use core::prelude::v1::{RustcDecodable, RustcEncodable}; 63 pub use core::prelude::v1::{ 68 pub use core::prelude::v1::derive_const; 76 pub use core::prelude::v1::cfg_accessible; 84 pub use core::prelude::v1::cfg_eval; 92 pub use core::prelude::v1::type_ascribe; 94 // The file so far is equivalent to core/src/prelude/v1.rs. It is duplicated
|
| /third_party/rust/rust/tests/ui/rust-2021/ |
| D | future-prelude-collision.stderr | 2 --> $DIR/future-prelude-collision.rs:56:18 8 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html> 10 --> $DIR/future-prelude-collision.rs:4:9 16 --> $DIR/future-prelude-collision.rs:61:13 22 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html> 25 --> $DIR/future-prelude-collision.rs:66:13 31 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html> 34 --> $DIR/future-prelude-collision.rs:74:18 40 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html> 43 --> $DIR/future-prelude-collision.rs:79:18 [all …]
|
| D | future-prelude-collision-imported.stderr | 2 --> $DIR/future-prelude-collision-imported.rs:27:22 8 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html> 10 --> $DIR/future-prelude-collision-imported.rs:4:9 16 --> $DIR/future-prelude-collision-imported.rs:40:22 22 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html> 25 --> $DIR/future-prelude-collision-imported.rs:53:22 31 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html> 34 --> $DIR/future-prelude-collision-imported.rs:64:22 40 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html>
|
| D | future-prelude-collision-generic.stderr | 2 --> $DIR/future-prelude-collision-generic.rs:28:5 8 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html> 10 --> $DIR/future-prelude-collision-generic.rs:5:9 16 --> $DIR/future-prelude-collision-generic.rs:31:5 22 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html> 25 --> $DIR/future-prelude-collision-generic.rs:34:5 31 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html>
|
| D | future-prelude-collision-macros.stderr | 2 --> $DIR/future-prelude-collision-macros.rs:39:5 8 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html> 10 --> $DIR/future-prelude-collision-macros.rs:4:9 16 --> $DIR/future-prelude-collision-macros.rs:42:5 22 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html>
|
| D | future-prelude-collision-turbofish.stderr | 2 --> $DIR/future-prelude-collision-turbofish.rs:19:5 8 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html> 10 --> $DIR/future-prelude-collision-turbofish.rs:6:9 16 --> $DIR/future-prelude-collision-turbofish.rs:23:5 22 … for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelude.html>
|
| /third_party/rust/rust/tests/ui/rust-2018/uniform-paths/ |
| D | prelude-fail-2.stderr | 2 --> $DIR/prelude-fail-2.rs:15:3 8 --> $DIR/prelude-fail-2.rs:4:5 14 --> $DIR/prelude-fail-2.rs:16:3 20 --> $DIR/prelude-fail-2.rs:17:3 26 --> $DIR/prelude-fail-2.rs:10:5 32 --> $DIR/prelude-fail-2.rs:19:13 38 --> $DIR/prelude-fail-2.rs:12:13 44 --> $DIR/prelude-fail-2.rs:17:3 50 --> $DIR/prelude-fail-2.rs:10:5 56 --> $DIR/prelude-fail-2.rs:19:13 [all …]
|
| /third_party/rust/rust/tests/rustdoc/ |
| D | viewpath-self.rs | 12 // @has foo/prelude/index.html 13 pub mod prelude { module 14 // @has foo/prelude/index.html '//code' 'pub use io;' 15 // @has foo/prelude/index.html '//code' 'pub use io::Reader;' 17 // @has foo/prelude/index.html '//code' 'pub use Maybe;' 18 // @has foo/prelude/index.html '//code' 'pub use Maybe::Just;' 19 // @has foo/prelude/index.html '//code' 'pub use Maybe::Nothing;'
|
| D | viewpath-rename.rs | 12 // @has foo/prelude/index.html 13 pub mod prelude { module 14 // @has foo/prelude/index.html '//code' 'pub use io as FooIo;' 15 // @has foo/prelude/index.html '//code' 'pub use io::Reader as FooReader;' 17 // @has foo/prelude/index.html '//code' 'pub use Maybe;' 18 // @has foo/prelude/index.html '//code' 'pub use Maybe::Just as MaybeJust;' 19 // @has foo/prelude/index.html '//code' 'pub use Maybe::Nothing;'
|
| D | glob-shadowing.rs | 8 // @!has - '//div[@class="desc docblock-short"]' 'sub1::prelude' 9 // @has - '//div[@class="desc docblock-short"]' 'mod::prelude' 26 // this should be shadowed by mod::prelude 27 /// sub1::prelude 28 pub mod prelude { module 85 /// mod::prelude 86 pub mod prelude {} module
|
| D | issue-83375-multiple-mods-w-same-name-doc-inline-last-item.rs | 6 pub mod prelude { module 14 // @count foo/index.html '//a[@class="mod"][@title="mod foo::prelude"]' 1 15 // @count foo/prelude/index.html '//div[@class="item-row"]' 0 16 pub mod prelude {} module
|
| D | issue-83375-multiple-mods-w-same-name-doc-inline.rs | 6 pub mod prelude { module 11 // @count foo/index.html '//a[@class="mod"][@title="mod foo::prelude"]' 1 12 // @count foo/prelude/index.html '//div[@class="item-row"]' 0 13 pub mod prelude {} module
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/project-model/test_data/output/ |
| D | rust_project_hello_world_project_model.txt | 29 prelude: true, 161 prelude: true, 168 prelude: true, 238 prelude: true, 245 prelude: true, 252 prelude: true, 259 prelude: true, 266 prelude: true, 273 prelude: true, 280 prelude: true, [all …]
|
| /third_party/rust/rust/tests/ui/suggestions/ |
| D | suggest-tryinto-edition-change.rs | 9 //~| NOTE 'std::convert::TryInto' is included in the prelude starting in Edition 2021 in test() 14 //~| NOTE 'std::convert::TryFrom' is included in the prelude starting in Edition 2021 in test() 15 //~| NOTE 'core::convert::TryFrom' is included in the prelude starting in Edition 2021 in test() 20 //~| NOTE 'std::convert::TryInto' is included in the prelude starting in Edition 2021 in test() 21 //~| NOTE 'core::convert::TryInto' is included in the prelude starting in Edition 2021 in test() 26 //~| NOTE 'std::iter::FromIterator' is included in the prelude starting in Edition 2021 in test() 27 //~| NOTE 'core::iter::FromIterator' is included in the prelude starting in Edition 2021 in test()
|
| D | suggest-tryinto-edition-change.stderr | 7 = note: 'std::convert::TryFrom' is included in the prelude starting in Edition 2021 8 = note: 'core::convert::TryFrom' is included in the prelude starting in Edition 2021 22 = note: 'std::convert::TryInto' is included in the prelude starting in Edition 2021 23 = note: 'core::convert::TryInto' is included in the prelude starting in Edition 2021 37 = note: 'std::iter::FromIterator' is included in the prelude starting in Edition 2021 38 = note: 'core::iter::FromIterator' is included in the prelude starting in Edition 2021 60 = note: 'std::convert::TryInto' is included in the prelude starting in Edition 2021
|
| /third_party/rust/rust/tests/ui/hygiene/ |
| D | prelude-import-hygiene.rs | 1 // Make sure that attribute used when injecting the prelude are resolved 10 // The prelude import shouldn't see these as candidates for when it's trying to 13 use core::prelude::v1::test as prelude_import; 14 use core::prelude::v1::test as macro_use; 16 // Should not be used for the prelude import - not a concern in the 2015 edition 23 // The extern crate item should override `std` in the extern prelude.
|
| /third_party/rust/rust/library/core/src/prelude/ |
| D | mod.rs | 1 //! The core prelude 5 //! manner as the standard library's prelude. 11 /// The 2015 version of the core prelude. 21 /// The 2018 version of the core prelude. 31 /// The 2021 version of the core prelude. 49 /// The 2024 edition of the core prelude.
|
| /third_party/rust/rust/tests/ui/imports/ |
| D | extern-prelude-extern-crate-restricted-shadowing.stderr | 2 --> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:19:9 13 --> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:13:9 20 --> $DIR/extern-prelude-extern-crate-restricted-shadowing.rs:5:9 27 note: `Vec` could also refer to a struct from prelude 28 --> $SRC_DIR/std/src/prelude/mod.rs:LL:COL
|
| /third_party/rust/crates/cxx/ |
| D | .buckconfig | 3 prelude = tools/buck/prelude 8 config = prelude 28 target_platform_detector_spec = target:root//...->prelude//platforms:default
|
| /third_party/rust/crates/cxx/tools/buck/toolchains/ |
| D | BUCK | 1 load("@prelude//toolchains:cxx.bzl", "system_cxx_toolchain") 2 load("@prelude//toolchains:genrule.bzl", "system_genrule_toolchain") 3 load("@prelude//toolchains:python.bzl", "system_python_bootstrap_toolchain") 4 load("@prelude//toolchains:rust.bzl", "system_rust_toolchain")
|
| /third_party/rust/rust/tests/ui/macros/ |
| D | macro-path-prelude-fail-5.stderr | 2 --> $DIR/macro-path-prelude-fail-5.rs:4:17 8 --> $DIR/macro-path-prelude-fail-5.rs:4:17 16 --> $DIR/macro-path-prelude-fail-5.rs:7:10 22 --> $DIR/macro-path-prelude-fail-5.rs:7:10
|