Home
last modified time | relevance | path

Searched +full:unused +full:- +full:variable (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/third_party/rust/rust/tests/ui/lint/unused/
Dissue-47390-unused-variable-in-struct-pattern.stderr1 warning: unused variable: `i_think_continually`
2 --> $DIR/issue-47390-unused-variable-in-struct-pattern.rs:26:9
8 --> $DIR/issue-47390-unused-variable-in-struct-pattern.rs:5:9
10 LL | #![warn(unused)] // UI tests pass `-A unused` (#43896)
12 = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`
14 warning: unused variable: `mut_unused_var`
15 --> $DIR/issue-47390-unused-variable-in-struct-pattern.rs:33:13
20 warning: unused variable: `var`
21 --> $DIR/issue-47390-unused-variable-in-struct-pattern.rs:37:14
26 warning: unused variable: `unused_var`
[all …]
Dlint-unused-mut-variables.stderr1 warning: variable does not need to be mutable
2 --> $DIR/lint-unused-mut-variables.rs:9:5
5 | ----^
10 --> $DIR/lint-unused-mut-variables.rs:5:9
15 warning: variable does not need to be mutable
16 --> $DIR/lint-unused-mut-variables.rs:23:9
19 | ----^
23 warning: variable does not need to be mutable
24 --> $DIR/lint-unused-mut-variables.rs:14:5
27 | ----^
[all …]
Dlint-unused-variables.stderr1 error: unused variable: `a`
2 --> $DIR/lint-unused-variables.rs:8:5
8 --> $DIR/lint-unused-variables.rs:5:9
13 error: unused variable: `a`
14 --> $DIR/lint-unused-variables.rs:22:9
19 error: unused variable: `b`
20 --> $DIR/lint-unused-variables.rs:14:5
25 error: unused variable: `b`
26 --> $DIR/lint-unused-variables.rs:29:9
31 error: unused variable: `b`
[all …]
Dissue-47390-unused-variable-in-struct-pattern.rs1 // check-pass
5 #![warn(unused)] // UI tests pass `-A unused` (#43896)
26 let i_think_continually = 2; //~ WARNING unused variable: `i_think_continually` in main()
34 //~^ WARNING unused variable: `mut_unused_var` in main()
35 //~| WARNING variable does not need to be mutable in main()
38 //~^ WARNING unused variable: `var` in main()
39 //~| WARNING unused variable: `unused_var` in main()
40 //~| WARNING variable does not need to be mutable in main()
45 if let SoulHistory { corridors_of_light, //~ WARNING unused variable: `corridors_of_light` in main()
52 let LovelyAmbition { lips, fire } = the_spirit; //~ WARNING unused variable: `fire` in main()
[all …]
Dlint-unused-variables.rs1 // compile-flags: --cfg something
9 //~^ ERROR unused variable: `a` in foo_async()
15 //~^ ERROR unused variable: `b` in foo()
23 //~^ ERROR unused variable: `a` in bar_async()
30 //~^ ERROR unused variable: `b` in bar()
35 //~^ ERROR unused variable: `b` in issue_64682_associated_fn()
43 //~^ ERROR unused variable: `b` in bar()
48 //~^ ERROR unused variable: `b` in issue_64682_associated_fn()
56 //~^ ERROR unused variable: `b` in bar()
61 //~^ ERROR unused variable: `b` in issue_64682_associated_fn()
[all …]
Dissue-67691-unused-field-in-or-pattern.stderr1 error: unused variable: `j`
2 --> $DIR/issue-67691-unused-field-in-or-pattern.rs:20:16
8 --> $DIR/issue-67691-unused-field-in-or-pattern.rs:4:9
10 LL | #![deny(unused)]
12 = note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
18 error: unused variable: `j`
19 --> $DIR/issue-67691-unused-field-in-or-pattern.rs:30:16
29 error: unused variable: `j`
30 --> $DIR/issue-67691-unused-field-in-or-pattern.rs:40:21
40 error: unused variable: `j`
[all …]
Dissue-54180-unused-ref-field.stderr1 error: unused variable: `field`
2 --> $DIR/issue-54180-unused-ref-field.rs:20:22
8 --> $DIR/issue-54180-unused-ref-field.rs:3:9
10 LL | #![deny(unused)]
12 = note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
14 error: unused variable: `f1`
15 --> $DIR/issue-54180-unused-ref-field.rs:26:13
20 error: unused variable: `x`
21 --> $DIR/issue-54180-unused-ref-field.rs:32:20
26 error: unused variable: `x`
[all …]
/third_party/rust/rust/tests/ui/rfcs/rfc-2565-param-attrs/
Dparam-attrs-cfg.stderr1 error: unused variable: `a`
2 --> $DIR/param-attrs-cfg.rs:24:23
8 --> $DIR/param-attrs-cfg.rs:5:9
13 error: unused variable: `a`
14 --> $DIR/param-attrs-cfg.rs:41:27
19 error: unused variable: `b`
20 --> $DIR/param-attrs-cfg.rs:30:23
25 error: unused variable: `c`
26 --> $DIR/param-attrs-cfg.rs:32:40
31 error: unused variable: `b`
[all …]
Dparam-attrs-cfg.rs1 // compile-flags: --cfg something
25 //~^ ERROR unused variable: `a` in foo_async()
31 //~^ ERROR unused variable: `b` in foo()
33 //~^ ERROR unused variable: `c` in foo()
42 //~^ ERROR unused variable: `a` in bar_async()
49 //~^ ERROR unused variable: `b` in bar()
51 //~^ ERROR unused variable: `c` in bar()
57 //~^ ERROR unused variable: `b` in issue_64682_associated_fn()
59 //~^ ERROR unused variable: `c` in issue_64682_associated_fn()
68 //~^ ERROR unused variable: `b` in bar()
[all …]
/third_party/rust/rust/tests/ui/asm/
Dnaked-functions-unused.x86_64.stderr1 error: unused variable: `a`
2 --> $DIR/naked-functions-unused.rs:17:32
4 LL | pub extern "C" fn function(a: usize, b: usize) -> usize {
8 --> $DIR/naked-functions-unused.rs:5:9
10 LL | #![deny(unused)]
12 = note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
14 error: unused variable: `b`
15 --> $DIR/naked-functions-unused.rs:17:42
17 LL | pub extern "C" fn function(a: usize, b: usize) -> usize {
20 error: unused variable: `a`
[all …]
Dnaked-functions-unused.aarch64.stderr1 error: unused variable: `a`
2 --> $DIR/naked-functions-unused.rs:17:32
4 LL | pub extern "C" fn function(a: usize, b: usize) -> usize {
8 --> $DIR/naked-functions-unused.rs:5:9
10 LL | #![deny(unused)]
12 = note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
14 error: unused variable: `b`
15 --> $DIR/naked-functions-unused.rs:17:42
17 LL | pub extern "C" fn function(a: usize, b: usize) -> usize {
20 error: unused variable: `a`
[all …]
Dnaked-functions-unused.rs2 // needs-asm-support
3 //[x86_64] only-x86_64
4 //[aarch64] only-aarch64
5 #![deny(unused)]
10 extern "C" fn trait_associated(a: usize, b: usize) -> usize; in trait_associated()
11 extern "C" fn trait_method(&self, a: usize, b: usize) -> usize; in trait_method()
17 pub extern "C" fn function(a: usize, b: usize) -> usize { in function()
18 //~^ ERROR unused variable: `a` in function()
19 //~| ERROR unused variable: `b` in function()
26 pub extern "C" fn associated(a: usize, b: usize) -> usize { in associated()
[all …]
/third_party/rust/rust/tests/ui/liveness/
Dliveness-unused.stderr2 --> $DIR/liveness-unused.rs:92:9
5 | -------- any code following this expression is unreachable
10 --> $DIR/liveness-unused.rs:1:9
12 LL | #![warn(unused)]
14 = note: `#[warn(unreachable_code)]` implied by `#[warn(unused)]`
16 error: unused variable: `x`
17 --> $DIR/liveness-unused.rs:8:7
23 --> $DIR/liveness-unused.rs:2:9
28 error: unused variable: `x`
29 --> $DIR/liveness-unused.rs:12:8
[all …]
Dliveness-consts.stderr1 warning: unused variable: `e`
2 --> $DIR/liveness-consts.rs:24:13
8 --> $DIR/liveness-consts.rs:2:9
10 LL | #![warn(unused)]
12 = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`
14 warning: unused variable: `s`
15 --> $DIR/liveness-consts.rs:33:24
17 LL | pub fn f(x: [u8; { let s = 17; 100 }]) -> [u8; { let z = 18; 100 }] {
20 warning: unused variable: `z`
21 --> $DIR/liveness-consts.rs:33:55
[all …]
Dliveness-unused.rs1 #![warn(unused)]
9 //~^ ERROR unused variable: `x` in f1()
13 //~^ ERROR unused variable: `x` in f1b()
21 //~^ ERROR unused variable: `x` in f1d()
26 //~^ ERROR unused variable: `x` in f2()
31 //~^ ERROR variable `x` is assigned to, but never used in f3()
38 //~^ ERROR variable `z` is assigned to, but never used in f3b()
60 //~^ ERROR unused variable: `i` in f4()
70 fn f4b() -> isize { in f4b()
80 //~^ ERROR unused variable: `x` in f5a()
[all …]
Dliveness-consts.rs1 // check-pass
2 #![warn(unused)]
7 let mut a = 0; //~ WARN variable `a` is assigned to, but never used
24 let e = 1; //~ WARN unused variable: `e`
33 pub fn f(x: [u8; { let s = 17; 100 }]) -> [u8; { let z = 18; 100 }] {
34 //~^ WARN unused variable: `s`
35 //~| WARN unused variable: `z`
49 let w = 10; //~ WARN unused variable: `w`
60 let z = 42; //~ WARN unused variable: `z` in main()
Dliveness-upvars.stderr2 --> $DIR/liveness-upvars.rs:10:9
9 --> $DIR/liveness-upvars.rs:4:9
11 LL | #![warn(unused)]
13 = note: `#[warn(unused_assignments)]` implied by `#[warn(unused)]`
15 warning: unused variable: `last`
16 --> $DIR/liveness-upvars.rs:10:9
22 = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`
24 warning: unused variable: `sum`
25 --> $DIR/liveness-upvars.rs:22:9
33 --> $DIR/liveness-upvars.rs:32:9
[all …]
/third_party/mindspore/mindspore-src/source/.jenkins/check/config/
Dfilter_pylint.txt2 … "invalid-name"
3 … "arguments-differ"
4 … "unused-argument"
5 … "no-value-for-parameter"
6 …oo/" "import-self"
7 … "missing-docstring"
8 … "import-self"
9 … "unexpected-keyword-arg"
10 … "consider-using-in"
13 …e/_check_deps_version.py" "broad-except"
[all …]
/third_party/rust/rust/tests/ui/closures/2229_closure_analysis/diagnostics/
Dliveness.rs3 // check-pass
5 #![warn(unused)]
18 // Captured by value, but variable is dead on entry. in f()
20 // This will not trigger a warning for unused variable as in f()
21 // c.x will be treated as a Non-tracked place in f()
30 // This will not trigger a warning for unused variable as in f()
31 // c.x will be treated as a Non-tracked place in f()
33 a += 1; //~ WARN unused variable: `a` in f()
39 // This will not trigger a warning for unused variable as in f()
40 // c.x will be treated as a Non-tracked place in f()
[all …]
/third_party/rust/rust/tests/ui/closures/2229_closure_analysis/run_pass/
Ddestructure_patterns.stderr1 warning: unused variable: `t1`
2 --> $DIR/destructure_patterns.rs:14:14
8 --> $DIR/destructure_patterns.rs:3:9
10 LL | #![warn(unused)]
12 = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`
14 warning: unused variable: `t2`
15 --> $DIR/destructure_patterns.rs:14:18
20 warning: unused variable: `t1`
21 --> $DIR/destructure_patterns.rs:26:14
26 warning: unused variable: `t2`
[all …]
/third_party/rust/rust/tests/ui/match/
Dissue-56685.stderr1 error: unused variable: `x`
2 --> $DIR/issue-56685.rs:14:14
8 --> $DIR/issue-56685.rs:2:9
17 error: unused variable: `x`
18 --> $DIR/issue-56685.rs:25:14
28 error: unused variable: `a`
29 --> $DIR/issue-56685.rs:27:14
34 error: unused variable: `b`
35 --> $DIR/issue-56685.rs:27:17
40 error: unused variable: `x`
[all …]
/third_party/rust/rust/tests/ui/type/
Dissue-100584.stderr1 error: unused variable: `xyza`
2 --> $DIR/issue-100584.rs:2:8
5 | ^^^^ unused variable
8 | -------- you might have meant to use string interpolation in this string literal
11 --> $DIR/issue-100584.rs:1:9
13 LL | #![deny(unused)]
15 = note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
25 error: unused variable: `xyza`
26 --> $DIR/issue-100584.rs:7:9
29 | ^^^^ unused variable
[all …]
/third_party/rust/rust/tests/ui/lint/rfc-2383-lint-reason/
Dforce_warn_expected_lints_fulfilled.rs1 // compile-flags: --force-warn while_true
2 // compile-flags: --force-warn unused_variables
3 // compile-flags: --force-warn unused_mut
4 // check-pass
12 //~| NOTE requested on the command line with `--force-warn while-true` in expect_early_pass_lint()
21 //~^ WARNING unused variable: `x` [unused_variables] in check_specific_lint()
22 //~| NOTE requested on the command line with `--force-warn unused-variables` in check_specific_lint()
26 #[expect(unused)]
29 //~^ WARNING unused variable: `fox_name` [unused_variables] in check_multiple_lints_with_lint_group()
33 //~^ WARNING variable does not need to be mutable [unused_mut] in check_multiple_lints_with_lint_group()
[all …]
/third_party/typescript/tests/baselines/reference/
Dwitness.errors.txt3 …/witness/witness.ts(28,12): error TS2695: Left side of comma operator is unused and has no side ef…
4 …ness/witness.ts(29,5): error TS2403: Subsequent variable declarations must have the same type. Va…
5 …/witness/witness.ts(30,12): error TS2695: Left side of comma operator is unused and has no side ef…
6 …/witness/witness.ts(30,12): error TS2695: Left side of comma operator is unused and has no side ef…
7 …/witness/witness.ts(32,12): error TS2695: Left side of comma operator is unused and has no side ef…
8 …/witness/witness.ts(32,12): error TS2695: Left side of comma operator is unused and has no side ef…
9 …/witness/witness.ts(32,12): error TS2695: Left side of comma operator is unused and has no side ef…
10 …ness/witness.ts(33,5): error TS2403: Subsequent variable declarations must have the same type. Va…
11 …ness/witness.ts(37,5): error TS2403: Subsequent variable declarations must have the same type. Va…
12 …ness/witness.ts(39,5): error TS2403: Subsequent variable declarations must have the same type. Va…
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_register_combiners.txt43 ARB_depth_texture and ARB_shadow -or- SGIX_depth_texture and
50 NVIDIA's next-generation graphics processor and its derivative
62 The numeric range of combiner computations is from [-1,1]
72 Each combiner variable input can be independently scaled and
86 Each input variable for each combiner stage is fetched from any
97 hard-wired and not subsumed by the combiner mechanism as in register
113 the combiner mechanism. Additionally, multi-pass shading models
132 RESOLUTION: YES. To update a combiner stage input variable, you
133 need to specify the <stage>, <portion>, and <variable>. To update a
139 Is the register combiner functionality a super-set of the TNT combiner
[all …]

12345678910>>...42