Home
last modified time | relevance | path

Searched full:rust (Results 1 – 25 of 5294) sorted by relevance

12345678910>>...212

/third_party/rust/rust/src/tools/clippy/
DCHANGELOG.md7 ## Unreleased / Beta / In Rust Nightly
9 [83e42a23...master](https://github.com/rust-lang/rust-clippy/compare/83e42a23...master)
11 ## Rust 1.70
15 [**View 85 PRs merged since 1.69**](https://github.com/rust-lang/rust-clippy/pulls?q=is%3Apr+is%3Ac…
20 [#10414](https://github.com/rust-lang/rust-clippy/pull/10414)
22 [#10362](https://github.com/rust-lang/rust-clippy/pull/10362)
24 [#10528](https://github.com/rust-lang/rust-clippy/pull/10528)
26 [#10448](https://github.com/rust-lang/rust-clippy/pull/10448)
28 [#10415](https://github.com/rust-lang/rust-clippy/pull/10415)
30 [#10467](https://github.com/rust-lang/rust-clippy/pull/10467)
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/docs/user/
Dgenerated_config.adoc1 [[rust-analyzer.assist.emitMustUse]]rust-analyzer.assist.emitMustUse (default: `false`)::
7 [[rust-analyzer.assist.expressionFillDefault]]rust-analyzer.assist.expressionFillDefault (default: …
12 [[rust-analyzer.cachePriming.enable]]rust-analyzer.cachePriming.enable (default: `true`)::
17 [[rust-analyzer.cachePriming.numThreads]]rust-analyzer.cachePriming.numThreads (default: `0`)::
22 [[rust-analyzer.cargo.autoreload]]rust-analyzer.cargo.autoreload (default: `true`)::
28 [[rust-analyzer.cargo.buildScripts.enable]]rust-analyzer.cargo.buildScripts.enable (default: `true`…
33 [[rust-analyzer.cargo.buildScripts.invocationLocation]]rust-analyzer.cargo.buildScripts.invocationL…
38 This is incompatible with `#rust-analyzer.cargo.buildScripts.invocationStrategy#` set to `once`.
40 This config only has an effect when `#rust-analyzer.cargo.buildScripts.overrideCommand#`
43 [[rust-analyzer.cargo.buildScripts.invocationStrategy]]rust-analyzer.cargo.buildScripts.invocationS…
[all …]
Dmanual.adoc10 IMPORTANT: the master copy of this document lives in the https://github.com/rust-lang/rust-analyzer…
13 At its core, rust-analyzer is a *library* for semantic analysis of Rust code as it changes over tim…
22 https://github.com/rust-lang/rust-analyzer/blob/master/docs/user/manual.adoc[https://github.com/rus…
27 …uestions about using rust-analyzer, please ask them in the https://users.rust-lang.org/c/ide/14["`…
31 In theory, one should be able to just install the <<rust-analyzer-language-server-binary,`rust-anal…
34 Additionally, rust-analyzer needs the sources of the standard library.
35 If the source code is not present, rust-analyzer will attempt to install it automatically.
40 $ rustup component add rust-src
45 Only the latest stable standard library source is officially supported for use with rust-analyzer.
46 …are using an older toolchain or have an override set, rust-analyzer may fail to understand the Rus…
[all …]
/third_party/rust/rust/
DRELEASES.md6 … of Windows batch file arguments in `std::process::Command`](https://blog.rust-lang.org/2024/04/09…
17 …t by a lint and add an exponential backoff warning](https://github.com/rust-lang/rust/pull/103877/)
18 - [expand: Change how `#![cfg(FALSE)]` behaves on crate root](https://github.com/rust-lang/rust/pul…
19 - [Stabilize inline asm for LoongArch64](https://github.com/rust-lang/rust/pull/111235/)
20 - [Uplift `clippy::undropped_manually_drops` lint](https://github.com/rust-lang/rust/pull/111530/)
21 - [Uplift `clippy::invalid_utf8_in_unchecked` lint](https://github.com/rust-lang/rust/pull/111543/)
22 - [Uplift `clippy::cast_ref_to_mut` lint](https://github.com/rust-lang/rust/pull/111567/)
23 - [Uplift `clippy::cmp_nan` lint](https://github.com/rust-lang/rust/pull/111818/)
24 - [resolve: Remove artificial import ambiguity errors](https://github.com/rust-lang/rust/pull/11208…
25 …pes with Self: Sized bounds in `dyn Trait` objects](https://github.com/rust-lang/rust/pull/112319/)
[all …]
/third_party/rust/rust/src/tools/clippy/book/src/
Dlint_configuration.md33 * [`arithmetic_side_effects`](https://rust-lang.github.io/rust-clippy/master/index.html#arithmetic_…
56 * [`arithmetic_side_effects`](https://rust-lang.github.io/rust-clippy/master/index.html#arithmetic_…
72 * [`arithmetic_side_effects`](https://rust-lang.github.io/rust-clippy/master/index.html#arithmetic_…
82 * [`enum_variant_names`](https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_nam…
83 * [`large_types_passed_by_value`](https://rust-lang.github.io/rust-clippy/master/index.html#large_t…
84 * [`trivially_copy_pass_by_ref`](https://rust-lang.github.io/rust-clippy/master/index.html#triviall…
85 * [`unnecessary_wraps`](https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_wraps)
86 * [`unused_self`](https://rust-lang.github.io/rust-clippy/master/index.html#unused_self)
87 * [`upper_case_acronyms`](https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acro…
88 * [`wrong_self_convention`](https://rust-lang.github.io/rust-clippy/master/index.html#wrong_self_co…
[all …]
/third_party/rust/rust/tests/ui/closures/2229_closure_analysis/migrations/
Dsignificant_drop.stderr1 error: changes to closure capture in Rust 2021 will affect drop order
8 …| --- in Rust 2018, this closure captures all of `t`, but in Rust 2021, it will o…
11 …| ---- in Rust 2018, this closure captures all of `t1`, but in Rust 2021, it wil…
14 …| ---- in Rust 2018, this closure captures all of `t2`, but in Rust 2021, it wil…
19 …| in Rust 2018, `t` is dropped here, but in Rust 2021, only `t.0` will be dropped here as part of …
20 …| in Rust 2018, `t1` is dropped here, but in Rust 2021, only `t1.0` will be dropped here as part o…
21 …| in Rust 2018, `t2` is dropped here, but in Rust 2021, only `t2.0` will be dropped here as part o…
23 …= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/disjo…
35 error: changes to closure capture in Rust 2021 will affect drop order
42 …| --- in Rust 2018, this closure captures all of `t`, but in Rust 2021, it will o…
[all …]
Dmulti_diagnostics.stderr1 error: changes to closure capture in Rust 2021 will affect drop order and which traits the closure …
5 …| ^^ in Rust 2018, this closure implements `Clone` as `f1` implements `Clone`, but in
8 …| ---- in Rust 2018, this closure captures all of `f1`, but in Rust 2021, it wi…
11 …| ---- in Rust 2018, this closure captures all of `f2`, but in Rust 2021, it wi…
14 …| - in Rust 2018, `f2` is dropped here, but in Rust 2021, only `f2.1` will be dropped here as part…
16 …= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/disjo…
28 error: changes to closure capture in Rust 2021 will affect which traits the closure implements
32 …| ^^ in Rust 2018, this closure implements `Clone` as `f1` implements `Clone`, but in
35 …| ---- in Rust 2018, this closure captures all of `f1`, but in Rust 2021, it wi…
37 …= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/disjo…
[all …]
/third_party/protobuf/rust/test/shared/
DBUILD4 # `//rust:rust_proto_library_kernel` flag and should always cover both
9 # * First copy will only depend on `rust_cc_proto_library` Rust proto targets, and if needed will
10 # only depend on `//rust:protobuf_cpp_export`.
11 # * Second copy will only depend on `rust_upb_proto_library` Rust proto targets, and if needed will
12 # only depend on `//rust:protobuf_upb_export`.
17 load("@rules_rust//rust:defs.bzl", "rust_test")
23 "//rust:protobuf_upb_export": "protobuf",
26 "//rust:protobuf_upb_export",
36 "//rust:protobuf_cpp_export": "protobuf",
39 "//rust:protobuf_cpp_export",
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/editors/code/
Dpackage.json2 "name": "rust-analyzer",
3 "displayName": "rust-analyzer",
4 "description": "Rust language support for Visual Studio Code",
9 "publisher": "rust-lang",
11 "url": "https://github.com/rust-lang/rust-analyzer.git",
14 "homepage": "https://rust-analyzer.github.io/",
17 "rust"
25 …"description": "rust-analyzer invokes binaries set up by its configuration as well as the Rust too…
34 "package": "vsce package -o rust-analyzer.vsix",
67 "onLanguage:rust",
[all …]
/third_party/rust/rust/src/bootstrap/
DCHANGELOG.md11 …rly true), `system` or `no` (formerly false) [#77703](https://github.com/rust-lang/rust/pull/77703)
12 …l accepted by `./configure`, with a warning. [#82451](https://github.com/rust-lang/rust/pull/82451)
13 …mmands to match the component they generate. [#90684](https://github.com/rust-lang/rust/pull/90684)
18rust-lang repository and the current working directory. To restore old behaviour, use `x.py fmt .`…
19 …n bootstrap to change the minimum version. [#108619](https://github.com/rust-lang/rust/pull/108619)
20 - The `rust.ignore-git` option has been renamed to `rust.omit-git-hash`. [#110059](https://github.c…
25 … needs opt-in to check tests (--all-targets) [#77473](https://github.com/rust-lang/rust/pull/77473)
26 …t `bootstrap/defaults/config.toml.$PROFILE`) [#77558](https://github.com/rust-lang/rust/pull/77558)
27 - If you have Rust already installed, `x.py` will now infer the host target
28 from the default rust toolchain. [#78513](https://github.com/rust-lang/rust/pull/78513)
[all …]
/third_party/rust/rust/tests/run-make/thumb-none-qemu/example/
DCargo.lock6 source = "registry+https://github.com/rust-lang/crates.io-index"
8 "as-slice 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
14 source = "registry+https://github.com/rust-lang/crates.io-index"
16 "generic-array 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)",
17 "generic-array 0.13.2 (registry+https://github.com/rust-lang/crates.io-index)",
18 "stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
24 source = "registry+https://github.com/rust-lang/crates.io-index"
26 "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
32 source = "registry+https://github.com/rust-lang/crates.io-index"
34 "aligned 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
[all …]
/third_party/rust/crates/nix/
DCHANGELOG.md12 ([#2117](https://github.com/nix-rust/nix/pull/2117))
18 ([#1925](https://github.com/nix-rust/nix/pull/1925))
20 correctly on Linux platforms. ([#2041](https://github.com/nix-rust/nix/pull/2041))
24 `Ipv6MembershipRequest::new` with future Rust versions.
25 ([#2061](https://github.com/nix-rust/nix/pull/2061))
27 ([#2095](https://github.com/nix-rust/nix/pull/2095))
32 ([#1964](https://github.com/nix-rust/nix/pull/1964))
37 ([#1821](https://github.com/nix-rust/nix/pull/1821))
43 ([#1871](https://github.com/nix-rust/nix/pull/1871))
46 ([#1877](https://github.com/nix-rust/nix/pull/1877))
[all …]
/third_party/rust/rust/src/tools/clippy/book/src/development/infrastructure/
Dsync.md1 # Syncing changes between Clippy and [`rust-lang/rust`]
5 In the `rust-lang/rust` repository, where rustc resides, there's a copy of
11 `rust-lang/rust` repository.
13 To avoid flooding the `rust-lang/rust` PR queue, this two-way sync process is
15 the day of the Rust stable release and then every other week. That way we
22 information about `subtree`s in the Rust repository see [the rustc-dev-guide][subtree].
27 with the [`rust-lang/rust`] repo. There's an open PR to fix that, but it's
57 commands still have to be run inside the `rust` directory):
61 $ git remote add clippy-upstream https://github.com/rust-lang/rust-clippy
65 $ git remote add clippy-local /path/to/rust-clippy
[all …]
/third_party/rust/crates/cxx/tests/ffi/
Dtests.h2 #include "rust/cxx.h"
54 rust::String cOverloadedMethod(int32_t x) const;
55 rust::String cOverloadedMethod(rust::Str x) const;
93 rust::Box<R> c_return_box();
101 rust::Str c_return_str(const Shared &shared);
102 rust::Slice<const char> c_return_slice_char(const Shared &shared);
103 rust::Slice<uint8_t> c_return_mutsliceu8(rust::Slice<uint8_t> slice);
104 rust::String c_return_rust_string();
105 rust::String c_return_rust_string_lossy();
114 rust::Vec<uint8_t> c_return_rust_vec_u8();
[all …]
/third_party/rust/rust/tests/ui/rust-2018/
Dasync-ident.stderr7 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
8 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
21 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
22 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
30 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
31 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
39 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
40 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
48 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
49 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[all …]
/third_party/rust/rust/tests/ui/asm/
Dnamed-asm-labels.stderr8 …= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/…
18 …= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/…
27 …= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/…
36 …= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/…
45 …= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/…
54 …= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/…
63 …= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/…
72 …= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/…
81 …= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/…
90 …= note: see the asm section of Rust By Example <https://doc.rust-lang.org/nightly/rust-by-example/…
[all …]
/third_party/rust/rust/src/etc/installer/pkg/
DDistribution.xml3 <title>The Rust Compiler</title>
5 <pkg-ref id="org.rust-lang.rust"/>
16 <line choice="rust-std"/>
18 <!-- tool-rust-docs-start -->
19 <line choice="rust-docs"/>
20 <!-- tool-rust-docs-end -->
30 … title="Install Rust" description="Install the Rust compiler, package manager and documentation."
35 …title="Uninstall Rust" description="Select this option to uninstall an existing Rust installation."
37 …all.selected || choices.rustc.selected || choices.cargo.selected || choices['rust-docs'].selected)"
40 <pkg-ref id="org.rust-lang.uninstall"/>
[all …]
/third_party/rust/rust/tests/ui/dyn-keyword/
Ddyn-2015-edition-keyword-ident-lint.stderr7 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
8 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
21 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
22 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
30 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
31 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
39 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
40 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
48 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
49 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/docs/dev/
DREADME.md3 rust-analyzer is an ordinary Rust project, which is organized as a Cargo workspace, builds on stabl…
12 To learn more about how rust-analyzer works, see [./architecture.md](./architecture.md).
16 We also publish rustdoc docs to pages: https://rust-lang.github.io/rust-analyzer/ide/.
23 rust-analyzer is a part of the [RLS-2.0 working
24 group](https://github.com/rust-lang/compiler-team/tree/6a769c13656c0a6959ebc09e7b1f7c09b86fb9c0/wor…
27 https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer
31 * [good-first-issue](https://github.com/rust-lang/rust-analyzer/labels/good%20first%20issue)
33 * [E-has-instructions](https://github.com/rust-lang/rust-analyzer/issues?q=is%3Aopen+is%3Aissue+lab…
35 * [Broken Window](https://github.com/rust-lang/rust-analyzer/issues?q=is:issue+is:open+label:%22Bro…
37 * [E-easy](https://github.com/rust-lang/rust-analyzer/issues?q=is%3Aopen+is%3Aissue+label%3AE-easy),
[all …]
/third_party/rust/rust/src/
Dstage0.json3 "dist_server": "https://static.rust-lang.org",
4 "artifacts_server": "https://ci-artifacts.rust-lang.org/rustc-builds",
5 "artifacts_with_llvm_assertions_server": "https://ci-artifacts.rust-lang.org/rustc-builds-alt",
6 "git_merge_commit_email": "bors@rust-lang.org",
81 …"dist/2023-07-13/rust-std-1.71.0-aarch64-apple-darwin.tar.gz": "6aee0d6c076b0009f70c6e17db08c36d59…
82 …"dist/2023-07-13/rust-std-1.71.0-aarch64-apple-darwin.tar.xz": "2fd0b7d71c215dafeff5b3bd7c5b9a15a4…
83 …"dist/2023-07-13/rust-std-1.71.0-aarch64-apple-ios-sim.tar.gz": "d6fbb5602e3648a16dd95a5851c5da5fc…
84 …"dist/2023-07-13/rust-std-1.71.0-aarch64-apple-ios-sim.tar.xz": "ad28e1f11dcd8cbfa82dd7b9dc451cdb9…
85 …"dist/2023-07-13/rust-std-1.71.0-aarch64-apple-ios.tar.gz": "9372ed3a34a64d8c72c22f37d237fcf9ee6f0…
86 …"dist/2023-07-13/rust-std-1.71.0-aarch64-apple-ios.tar.xz": "b7c9a9c85f8aee457c4daa47e970627251e9e…
[all …]
/third_party/rust/rust/src/tools/rustfmt/
DCargo.lock8 source = "registry+https://github.com/rust-lang/crates.io-index"
17 source = "registry+https://github.com/rust-lang/crates.io-index"
27 source = "registry+https://github.com/rust-lang/crates.io-index"
42 source = "registry+https://github.com/rust-lang/crates.io-index"
48 source = "registry+https://github.com/rust-lang/crates.io-index"
57 source = "registry+https://github.com/rust-lang/crates.io-index"
67 source = "registry+https://github.com/rust-lang/crates.io-index"
73 source = "registry+https://github.com/rust-lang/crates.io-index"
79 source = "registry+https://github.com/rust-lang/crates.io-index"
85 source = "registry+https://github.com/rust-lang/crates.io-index"
[all …]
/third_party/rust/crates/cxx/book/src/build/
Dother.md1 {{#title Other build systems — Rust ♡ C++}}
8 - Link the resulting objects together with your other C++ and Rust objects.
18 CXX's Rust code generation automatically happens when the `#[cxx::bridge]`
19 procedural macro is expanded during the normal Rust compilation process, so no
45 ### Linking the C++ and Rust together
47 When linking a binary which contains mixed Rust and C++ code, you will have to
48 choose between using the Rust toolchain (`rustc`) or the C++ toolchain which you
51 Rust does not generate simple standalone `.o` files, so you can't just throw the
52 Rust-generated code into your existing C++ toolchain linker. Instead you need to
55 * Use `rustc` as the final linker. Pass any non-Rust libraries using `-L
[all …]
/third_party/rust/rust/tests/ui/feature-gates/
Dfeature-gate-abi.stderr4 LL | extern "rust-intrinsic" fn f1() {}
15 = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
18 error[E0658]: rust-call ABI is subject to change
21 LL | extern "rust-call" fn f4(_: ()) {}
24 = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
30 LL | extern "rust-intrinsic" fn m1();
41 = note: see issue #27731 <https://github.com/rust-lang/rust/issues/27731> for more information
44 error[E0658]: rust-call ABI is subject to change
47 LL | extern "rust-call" fn m4(_: ());
50 = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[all …]
/third_party/rust/rust/tests/ui/rust-2021/
Dfuture-prelude-collision.stderr1 warning: trait method `try_into` will become ambiguous in Rust 2021
7 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
8 …= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelu…
15 warning: trait-associated function `try_from` will become ambiguous in Rust 2021
21 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
22 …= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelu…
24 warning: trait-associated function `from_iter` will become ambiguous in Rust 2021
30 = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
31 …= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/prelu…
33 warning: trait-associated function `try_from` will become ambiguous in Rust 2021
[all …]
/third_party/rust/rust/tests/ui/async-await/await-keyword/
D2015-edition-error-various-positions.stderr7 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
8 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
21 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
22 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
30 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
31 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
39 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
40 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
48 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
49 = note: for more information, see issue #49716 <https://github.com/rust-lang/rust/issues/49716>
[all …]

12345678910>>...212