Home
last modified time | relevance | path

Searched +full:lint +full:- +full:rustfmt +full:- +full:rules (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/.gitlab-ci/test/
Dgitlab-ci.yml7 - !reference [default, before_script]
9 - rm -rf install
10 - tar -xf artifacts/install.tar
11 - section_start ldd_section "Checking ldd on driver build"
12 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
13 - section_end ldd_section
18 - results/
19 rules:
20 - !reference [.common-rules, rules]
21 - !reference [.never-post-merge-rules, rules]
[all …]
/third_party/mesa3d/.gitlab-ci/
Dtest-source-dep.yml5 .scheduled_pipeline-rules:
6 rules:
7 - if: &is-scheduled-pipeline '$CI_PIPELINE_SOURCE == "schedule"'
12 # disables that, but keeps the auto-retry for infrastructure failures.
13 .no-auto-retry:
19 - api_failure
20 - runner_system_failure
21 - scheduler_failure
22 - data_integrity_failure
23 - unknown_failure
[all …]
/third_party/rust/rust/src/tools/clippy/clippy_lints/src/
Dnon_expressive_names.rs7 use rustc_middle::lint::in_external_macro;
18 /// Note: this lint looks for similar names throughout each
94 lint: &'a NonExpressiveNames, field
96 /// A stack of scopes containing the single-character bindings in each scope.
103 let threshold = self.lint.single_char_binding_names_threshold; in check_single_char_names()
115 &format!("{num_single_char_names} bindings with single-character names in scope"), in check_single_char_names()
123 #[rustfmt::skip]
131 &["lit", "lint"],
162 fn get_exemptions(interned_name: &str) -> Option<&'static [&'static str]> { in get_exemptions()
170 fn allowed_to_be_similar(interned_name: &str, list: &[&str]) -> bool { in allowed_to_be_similar()
[all …]
/third_party/rust/rust/src/tools/clippy/clippy_utils/src/
Dsource.rs18 fn into_range(self) -> Range<BytePos>; in into_range()
21 fn into_range(self) -> Range<BytePos> { in into_range()
27 fn into_range(self) -> Range<BytePos> { in into_range()
32 fn into_range(self) -> Range<BytePos> { in into_range()
44 pub fn as_str(&self) -> Option<&str> { in as_str()
51 pub fn get_source_text(cx: &impl LintContext, sp: impl SpanRange) -> Option<SourceFileRange> { in get_source_text()
52 fn f(sm: &SourceMap, sp: Range<BytePos>) -> Option<SourceFileRange> { in get_source_text()
72 ) -> String { in expr_block()
76 block.rules != BlockCheckMode::UnsafeBlock(UnsafeSource::UserProvided) in expr_block()
88 /// Returns a new Span that extends the original Span to the first non-whitespace char of the first
[all …]
Dlib.rs9 #![cfg_attr(feature = "deny-warnings", deny(warnings))]
13 // warn on lints, that are included in `rust-lang/rust`s bootstrap
98 use rustc_lint::{LateContext, Level, Lint, LintContext};
162 pub fn expr_or_init<'a, 'b, 'tcx: 'b>(cx: &LateContext<'tcx>, mut expr: &'a Expr<'b>) -> &'a Expr<'… in expr_or_init()
179 pub fn find_binding_init<'tcx>(cx: &LateContext<'tcx>, hir_id: HirId) -> Option<&'tcx Expr<'tcx>> { in find_binding_init()
202 pub fn in_constant(cx: &LateContext<'_>, id: HirId) -> bool { in in_constant()
208 pub fn is_res_lang_ctor(cx: &LateContext<'_>, res: Res, lang_item: LangItem) -> bool { in is_res_lang_ctor()
219 pub fn is_res_diagnostic_ctor(cx: &LateContext<'_>, res: Res, diag_item: Symbol) -> bool { in is_res_diagnostic_ctor()
230 pub fn is_diagnostic_ctor(cx: &LateContext<'_>, qpath: &QPath<'_>, diagnostic_item: Symbol) -> bool… in is_diagnostic_ctor()
240 pub fn is_diagnostic_item_or_ctor(cx: &LateContext<'_>, did: DefId, item: Symbol) -> bool { in is_diagnostic_item_or_ctor()
[all …]
/third_party/rust/rust/src/tools/tidy/src/
Dstyle.rs5 //! * No lines over 100 characters (in non-Rust files).
6 //! * No files with over 3000 lines (in non-Rust files).
13 //! Note that some of these rules are excluded from Rust files because we enforce rustfmt. It is
14 //! preferable to be formatted rather than tidy-clean.
16 //! A number of these checks can be opted-out of with various directives of the form:
17 //! `// ignore-tidy-CHECK-NAME`.
18 // ignore-tidy-dbg
25 /// displayed on the console with --example.
38 * use "```no_run", if the code should type-check but not necessary linkable/runnable, or
39 * explain it like "```ignore (cannot-test-this-because-xxxx)", if the annotation cannot be avoided.
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-db/src/generated/
Dlints.rs4 pub struct Lint { struct
9 pub lint: Lint, field
12 pub const DEFAULT_LINTS: &[Lint] = &[
13 Lint {
17 Lint { label: "ambiguous_associated_items", description: r##"ambiguous associated items"## },
18 Lint { label: "anonymous_parameters", description: r##"detects anonymous parameters"## },
19 Lint { label: "arithmetic_overflow", description: r##"arithmetic operation overflows"## },
20 Lint {
24 Lint {
28 Lint { label: "bad_asm_style", description: r##"incorrect use of inline assembly"## },
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/docs/dev/
Dstyle.md1 Our approach to "clean code" is two-fold:
4 * At the same time, all code in rust-analyzer is constantly refactored.
6 …ome nits in the PR, and then send a follow-up cleanup PR for things which are easier to explain by…
10 non-reusable comments on the pull request itself.
48 That said, adding an innocent-looking `pub use` is a very simple way to break encapsulation, keep a…
50 Note: if you enjoyed this abstract hand-waving about boundaries, you might appreciate
51 https://www.tedinski.com/2018/02/06/system-boundaries.html
58 …s to read Cargo.lock and see if some *transitive* dependencies do not make sense for rust-analyzer.
64 We don't have specific rules around git history hygiene.
67 …of the code, please use [interactive rebase](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-Hi…
[all …]
/third_party/rust/rust/compiler/rustc_feature/src/
Daccepted.rs25 #[rustfmt::skip]
27 // -------------------------------------------------------------------------
28 // feature-group-start: for testing purposes
29 // -------------------------------------------------------------------------
41 // -------------------------------------------------------------------------
42 // feature-group-end: for testing purposes
43 // -------------------------------------------------------------------------
45 // -------------------------------------------------------------------------
46 // feature-group-start: accepted features
47 // -------------------------------------------------------------------------
[all …]
/third_party/rust/rust/src/bootstrap/
Dbuilder.rs33 // - use std::lazy for `Lazy`
34 // - use std::cell for `OnceCell`
52 fn deref(&self) -> &Self::Target { in deref()
66 /// If true, then this rule should be skipped if --target was specified, but --host was not
71 fn run(self, builder: &Builder<'_>) -> Self::Output; in run()
77 fn should_run(run: ShouldRun<'_>) -> ShouldRun<'_>; in should_run()
86 // It is reasonable to not have an implementation of make_run for rules in make_run()
101 pub fn build_triple(&self) -> TargetSelection { in build_triple()
107 pub fn cargo_crates_in_set(&self) -> Interned<Vec<String>> { in cargo_crates_in_set()
123 pub fn crate_description(crates: &[impl AsRef<str>]) -> String { in crate_description()
[all …]
/third_party/rust/rust/
DRELEASES.md1 Version 1.77.2 (2024-04-09)
6 - [CVE-2024-24576: fix escaping of Windows batch file arguments in `std::process::Command`](https:/…
7 - Fix `Command`'s batch files argument escaping not working when file name has trailing whitespace …
9 Version 1.72.0 (2023-08-24)
12 <a id="1.72.0-Language"></a>
15 --------
17 - [Replace const eval limit by a lint and add an exponential backoff warning](https://github.com/ru…
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/)
[all …]
/third_party/mesa3d/docs/relnotes/
D23.3.0.rst1 Mesa 23.3.0 Release Notes / 2023-11-29
20 ---------------
24 50f729dd60ed6335b989095baad81ef5edf7cfdd4b4b48b9b955917cb07d69c5 mesa-23.3.0.tar.xz
28 -----------
29 - NVK: A Vulkan driver for Nvidia hardware
32 ------------
33 - VK_EXT_pipeline_robustness on ANV
34 - VK_KHR_maintenance5 on RADV
35 - OpenGL ES 3.1 on Asahi
36 - GL_ARB_compute_shader on Asahi
[all …]
D24.2.0.rst1 Mesa 24.2.0 Release Notes / 2024-08-14
20 ---------------
24 c02bb72cea290f78b11895a0c95c7c92394f180d7ff66d4a762ec6950a58addf mesa-24.2.0.tar.xz
28 ------------
30 - VK_KHR_dynamic_rendering_local_read on RADV
31 - VK_EXT_legacy_vertex_attributes on lavapipe, ANV, Turnip and RADV
32 - VK_MESA_image_alignment_control on RADV
33 - VK_EXT_shader_replicated_composites on ANV, dozen, hasvk, lavapipe, nvk, RADV, and Turnip
34 - VK_KHR_maintenance5 on v3dv
35 - VK_KHR_maintenance7 on RADV
[all …]
D24.3.0.rst1 Mesa 24.3.0 Release Notes / 2024-11-21
20 -------------
24 SHA256: 97813fe65028ef21b4d4e54164563059e8408d8fee3489a2323468d198bf2efc mesa-24.3.0.tar.xz
25 …821e68d7a8c37a07871d097ab17555f41a4fe716f0de7df95ad7d452b1ed57db6527838eb839ba4 mesa-24.3.0.tar.xz
29 ------------
31 - Expose Vulkan 1.3 on v3dv, both rpi4 and rpi5
32 - VK_EXT_descriptor_buffer on nvk
33 - VK_EXT_post_depth_coverage on nvk
34 - VK_KHR_video_maintenance1 on radv
35 - VK_EXT_legacy_vertex_attributes on nvk
[all …]
D25.0.0.rst1 Mesa 25.0.0 Release Notes / 2025-02-19
20 -------------
24 SHA256: 96a53501fd59679654273258c6c6a1055a20e352ee1429f0b123516c7190e5b0 mesa-25.0.0.tar.xz
25 …36f614d322033d4d465307ddcd983f9f3afb1310e132ec3186a085d261c95493a0c460b2ec59ce8 mesa-25.0.0.tar.xz
29 ------------
31 - cl_khr_depth_images in rusticl
32 - Vulkan 1.4 on radv/gfx8+
33 - VK_KHR_dedicated_allocation on panvk
34 - VK_KHR_global_priority on panvk
35 - VK_KHR_index_type_uint8 on panvk
[all …]
D24.1.0.rst1 Mesa 24.1.0 Release Notes / 2024-05-22
20 ---------------
24 b7eac8c79244806b1c276eeeacc329e4a5b31a370804c4b0c7cd16837783f78b mesa-24.1.0.tar.xz
28 ------------
30 - VK_EXT_map_memory_placed on RADV, ANV and NVK
31 - VK_KHR_shader_subgroup_rotate on RADV and ANV and NVK
32 - VK_KHR_load_store_op_none on RADV, ANV, NVK and Turnip
33 - VK_KHR_line_rasterization on RADV, ANV, NVK and Turnip
34 - VK_KHR_index_type_uint8 on RADV, ANV, NVK and Turnip
35 - VK_KHR_shader_expect_assume on all Vulkan drivers
[all …]
/third_party/rust/rust/src/tools/clippy/clippy_lints/src/methods/
Dmod.rs121 use rustc_middle::lint::in_external_macro;
184 /// This `lint` removes the side of effect of cloning items in the iterator.
185 /// A code that relies on that side-effect could fail.
236 /// quick-and-dirty code, `unwrap` is a good choice, which is why this lint is
245 /// where they may get displayed. Activate this lint to do just that.
311 /// Still, for a lot of quick-and-dirty code, `expect` is a good choice, which is why
312 /// this lint is `Allow` by default.
360 /// fn add(&self, other: &X) -> X {
376 /// The actual rules are:
379 /// |-------|------------|-------------------------------|--------------|
[all …]
/third_party/NuttX/
DReleaseNotes14 "nuttx-6.27").
16 NuttX-0.1.0
17 -----------
23 This release has been verified on both the Linux user-mode and C5471
25 for the C5471 can be found in arch/c5471/doc/test-results.txt.
29 NuttX-0.1.1
30 -----------
42 This release has been verified on the Linux user-mode platform, the
51 NuttX-0.1.2
52 -----------
[all …]