| /third_party/typescript/tests/baselines/reference/ |
| D | downlevelLetConst16.js | 2 'use strict' 4 declare function use(a: any); 9 use(x); 10 use(y); 11 use(z); 14 use(x); 16 use(y); 18 use(z); 24 use(x); 26 use(y); [all …]
|
| D | downlevelLetConst16.types | 2 'use strict' 3 >'use strict' : "use strict" 5 declare function use(a: any); 6 >use : (a: any) => any 19 use(x); 20 >use(x) : any 21 >use : (a: any) => any 24 use(y); 25 >use(y) : any 26 >use : (a: any) => any [all …]
|
| D | downlevelLetConst16.symbols | 2 'use strict' 4 declare function use(a: any); 5 >use : Symbol(use, Decl(downlevelLetConst16.ts, 0, 12)) 17 use(x); 18 >use : Symbol(use, Decl(downlevelLetConst16.ts, 0, 12)) 21 use(y); 22 >use : Symbol(use, Decl(downlevelLetConst16.ts, 0, 12)) 25 use(z); 26 >use : Symbol(use, Decl(downlevelLetConst16.ts, 0, 12)) 35 use(x); [all …]
|
| D | downlevelLetConst16.errors.txt | 10 'use strict' 12 declare function use(a: any); 17 use(x); 18 use(y); 19 use(z); 22 use(x); 24 use(y); 26 use(z); 32 use(x); 34 use(y); [all …]
|
| D | downlevelLetConst14.types | 2 'use strict' 3 >'use strict' : "use strict" 5 declare function use(a: any); 6 >use : (a: any) => any 23 use(x); 24 >use(x) : any 25 >use : (a: any) => any 33 use(z0); 34 >use(z0) : any 35 >use : (a: any) => any [all …]
|
| D | downlevelLetConst15.types | 2 'use strict' 3 >'use strict' : "use strict" 5 declare function use(a: any); 6 >use : (a: any) => any 23 use(x); 24 >use(x) : any 25 >use : (a: any) => any 33 use(z0); 34 >use(z0) : any 35 >use : (a: any) => any [all …]
|
| D | downlevelLetConst17.types | 2 'use strict' 3 >'use strict' : "use strict" 5 declare function use(a: any); 6 >use : (a: any) => any 16 use(x); 17 >use(x) : any 18 >use : (a: any) => any 21 use(x); 22 >use(x) : any 23 >use : (a: any) => any [all …]
|
| D | downlevelLetConst15.js | 2 'use strict' 3 declare function use(a: any); 9 use(x); 12 use(z0); 14 use(z1); 16 use(z2); 18 use(z3); 20 use(x); 21 use(z0); 22 use(z1); [all …]
|
| D | downlevelLetConst14.js | 2 'use strict' 3 declare function use(a: any); 9 use(x); 12 use(z0); 14 use(z1); 16 use(z2); 18 use(z3); 20 use(x); 21 use(z0); 22 use(z1); [all …]
|
| D | downlevelLetConst14.symbols | 2 'use strict' 3 declare function use(a: any); 4 >use : Symbol(use, Decl(downlevelLetConst14.ts, 0, 12)) 19 use(x); 20 >use : Symbol(use, Decl(downlevelLetConst14.ts, 0, 12)) 26 use(z0); 27 >use : Symbol(use, Decl(downlevelLetConst14.ts, 0, 12)) 33 use(z1); 34 >use : Symbol(use, Decl(downlevelLetConst14.ts, 0, 12)) 42 use(z2); [all …]
|
| D | downlevelLetConst15.symbols | 2 'use strict' 3 declare function use(a: any); 4 >use : Symbol(use, Decl(downlevelLetConst15.ts, 0, 12)) 19 use(x); 20 >use : Symbol(use, Decl(downlevelLetConst15.ts, 0, 12)) 26 use(z0); 27 >use : Symbol(use, Decl(downlevelLetConst15.ts, 0, 12)) 35 use(z1); 36 >use : Symbol(use, Decl(downlevelLetConst15.ts, 0, 12)) 44 use(z2); [all …]
|
| D | downlevelLetConst17.symbols | 2 'use strict' 4 declare function use(a: any); 5 >use : Symbol(use, Decl(downlevelLetConst17.ts, 0, 12)) 14 use(x); 15 >use : Symbol(use, Decl(downlevelLetConst17.ts, 0, 12)) 18 use(x); 19 >use : Symbol(use, Decl(downlevelLetConst17.ts, 0, 12)) 25 use(x); 26 >use : Symbol(use, Decl(downlevelLetConst17.ts, 0, 12)) 34 use(x); [all …]
|
| /third_party/typescript/tests/cases/compiler/ |
| D | downlevelLetConst16.ts | 4 'use strict' 6 declare function use(a: any); function 11 use(x); 12 use(y); 13 use(z); 16 use(x); 18 use(y); 20 use(z); 26 use(x); 28 use(y); [all …]
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/ide-db/src/imports/insert_use/ |
| D | tests.rs | 1 use base_db::fixture::WithFixture; 2 use hir::PrefixKind; 3 use stdx::trim_indent; 4 use test_utils::{assert_eq_text, CURSOR_MARKER}; 6 use super::*; 17 use foo::bar; in trailing_comment_in_empty_file() 37 use bar::Bar; in respects_cfg_attr_fn() 55 use bar::Bar; in respects_cfg_attr_const() 65 "use foo::baz::A", in insert_skips_lone_glob_imports() 67 use foo::bar::*; in insert_skips_lone_glob_imports() [all …]
|
| /third_party/rust/rust/src/tools/rustfmt/tests/source/ |
| D | imports_granularity_one.rs | 3 use b; 4 use a::ac::{aca, acb}; 5 use a::{aa::*, ab}; 7 use a as x; 8 use b::ba; 9 use a::{aa, ab}; 11 use a::aa::aaa; 12 use a::ab::aba as x; 13 use a::aa::*; 15 use a::aa; [all …]
|
| /third_party/rust/crates/clap/src/builder/ |
| D | mod.rs | 25 pub use self::str::Str; 26 pub use action::ArgAction; 27 pub use arg::Arg; 28 pub use arg_group::ArgGroup; 29 pub use arg_predicate::ArgPredicate; 30 pub use command::Command; 31 pub use os_str::OsStr; 32 pub use possible_value::PossibleValue; 33 pub use range::ValueRange; 34 pub use resettable::IntoResettable; [all …]
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/ide-assists/src/handlers/ |
| D | merge_imports.rs | 1 use either::Either; 2 use ide_db::imports::merge_imports::{try_merge_imports, try_merge_trees, MergeBehavior}; 3 use syntax::{ 9 use crate::{ 15 use Edit::*; 22 // use std::$0fmt::Formatter; 23 // use std::io; 27 // use std::{fmt::Formatter, io}; 35 let edits = if let Some(use_item) = tree.syntax().parent().and_then(ast::Use::cast) { in merge_imports() 56 ast::Use(use_item) => { in merge_imports() [all …]
|
| /third_party/rust/rust/src/tools/rustfmt/tests/source/imports/ |
| D | imports.rs | 6 use rustc_ast::ast::{ItemForeignMod, ItemImpl, ItemMac, ItemMod, ItemStatic, ItemDefaultImpl}; 7 use exceedingly::looooooooooooooooooooooooooooooooooooooooooooooooooooooooooong::import::path::{Ite… 8 use exceedingly::loooooooooooooooooooooooooooooooooooooooooooooooooooooooong::import::path::{ItemA,… 10 use list::{ 16 use test::{ Other /* C */ , /* A */ self /* B */ }; 18 use rustc_ast::{self}; 19 use {/* Pre-comment! */ 21 use Foo::{Bar, Baz}; 22 pub use rustc_ast::ast::{Expr_, Expr, ExprAssign, ExprCall, ExprMethodCall, ExprPath}; 24 use rustc_ast::some::{}; [all …]
|
| D | imports_granularity_crate.rs | 3 use a::{c,d,b}; 4 use a::{d, e, b, a, f}; 5 use a::{f, g, c}; 8 use a::b; 9 use a::c; 10 use a::d; 12 use a::{c, d, e}; 14 use a::b; 15 use a::d; 17 pub use foo::bar; [all …]
|
| /third_party/rust/rust/tests/ui/deprecation/ |
| D | deprecation-lint.rs | 10 use deprecation_lint::*; 16 deprecated(); //~ ERROR use of deprecated function `deprecation_lint::deprecated` in test() 17 …foo.method_deprecated(); //~ ERROR use of deprecated method `deprecation_lint::MethodTester::metho… in test() 18 …Foo::method_deprecated(&foo); //~ ERROR use of deprecated method `deprecation_lint::MethodTester::… in test() 19 …<Foo>::method_deprecated(&foo); //~ ERROR use of deprecated method `deprecation_lint::MethodTester… in test() 20 …foo.trait_deprecated(); //~ ERROR use of deprecated method `deprecation_lint::Trait::trait_depreca… in test() 21 …Trait::trait_deprecated(&foo); //~ ERROR use of deprecated method `deprecation_lint::Trait::trait_… in test() 22 …<Foo>::trait_deprecated(&foo); //~ ERROR use of deprecated method `deprecation_lint::Trait::trait_… in test() 23 …<Foo as Trait>::trait_deprecated(&foo); //~ ERROR use of deprecated method `deprecation_lint::Trai… in test() 25 … deprecated_text(); //~ ERROR use of deprecated function `deprecation_lint::deprecated_text`: text in test() [all …]
|
| /third_party/jerryscript/tests/jerry/ |
| D | strict2.js | 4 // you may not use this file except in compliance with the License. 39 check_syntax_error("'use strict'\nimplements") 40 check_syntax_error("'use strict'\n\\u0069mplements") 41 assert(eval("'use stric'\nimplements") === 0) 42 assert(eval("'use stric'\n\\u0069mplements") === 0) 44 check_syntax_error("'use strict'\nprivate") 45 check_syntax_error("'use strict'\n\\u0070rivate") 46 assert(eval("'use stric'\nprivate") === 1) 47 assert(eval("'use stric'\n\\u0070rivate") === 1) 49 check_syntax_error("'use strict'\npublic") [all …]
|
| /third_party/rust/rust/src/tools/rustfmt/tests/target/imports/ |
| D | imports.rs | 6 use exceedingly::loooooooooooooooooooooooooooooooooooooooooooooooooooooooong::import::path::{ 9 use exceedingly::looooooooooooooooooooooooooooooooooooooooooooooooooooooooooong::import::path::{ 12 use rustc_ast::ast::{ItemDefaultImpl, ItemForeignMod, ItemImpl, ItemMac, ItemMod, ItemStatic}; 14 use list::{ 23 use test::{/* A */ self /* B */, Other /* C */}; 25 pub use rustc_ast::ast::{Expr, ExprAssign, ExprCall, ExprMethodCall, ExprPath, Expr_}; 26 use rustc_ast::{self}; 27 use Foo::{Bar, Baz}; 28 use {Bar /* comment */, /* Pre-comment! */ Foo}; 30 use std::io; [all …]
|
| /third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/ |
| D | mod.rs | 1 pub use self::aes::*; 2 pub use self::asn1::*; 3 pub use self::bio::*; 4 pub use self::bn::*; 5 pub use self::cmac::*; 6 pub use self::cms::*; 7 pub use self::conf::*; 8 pub use self::crypto::*; 9 pub use self::dh::*; 10 pub use self::dsa::*; [all …]
|
| /third_party/rust/rust/src/tools/clippy/tests/ui/ |
| D | unnecessary_to_owned.stderr | 7 note: this value is dropped without further use 20 note: this value is dropped without further use 32 note: this value is dropped without further use 44 note: this value is dropped without further use 56 note: this value is dropped without further use 62 error: unnecessary use of `into_owned` 70 error: unnecessary use of `to_owned` 74 | ^^^^^^^^^^^^^^^^^ help: use: `c_str` 76 error: unnecessary use of `to_os_string` 80 | ^^^^^^^^^^^^^^^^^^^^^^ help: use: `os_str` [all …]
|
| /third_party/rust/rust/tests/ui/lint/ |
| D | lint-stability-fields-deprecated.rs | 12 use self::lint_stability_fields::*; 19 //~^ ERROR use of deprecated field in foo() 26 //~^ ERROR use of deprecated field in foo() 33 //~^ ERROR use of deprecated field in foo() 44 //~^ ERROR use of deprecated field in foo() 50 //~^ ERROR use of deprecated field in foo() 61 //~^ ERROR use of deprecated field in foo() 67 //~^ ERROR use of deprecated field in foo() 73 //~^ ERROR use of deprecated field in foo() 86 //~^ ERROR use of deprecated field in foo() [all …]
|