Home
last modified time | relevance | path

Searched defs:Debug (Results 1 – 25 of 167) sorted by relevance

1234567

/third_party/rust/rust/tests/ui/impl-trait/
Dwhere-allowed.rs9 fn in_parameters(_: impl Debug) { panic!() } in in_parameters()
15 fn in_adt_in_parameters(_: Vec<impl Debug>) { panic!() } in in_adt_in_parameters()
18 fn in_fn_parameter_in_parameters(_: fn(impl Debug)) { panic!() } in in_fn_parameter_in_parameters()
22 fn in_fn_return_in_parameters(_: fn() -> impl Debug) { panic!() } in in_fn_return_in_parameters()
34 fn in_dyn_Fn_parameter_in_parameters(_: &dyn Fn(impl Debug)) { panic!() } in in_dyn_Fn_parameter_in_parameters()
38 fn in_dyn_Fn_return_in_parameters(_: &dyn Fn() -> impl Debug) { panic!() } in in_dyn_Fn_return_in_parameters()
49 fn in_impl_Fn_parameter_in_parameters(_: &impl Fn(impl Debug)) { panic!() } in in_impl_Fn_parameter_in_parameters()
54 fn in_impl_Fn_return_in_parameters(_: &impl Fn() -> impl Debug) { panic!() } in in_impl_Fn_return_in_parameters()
104 fn in_parameters(_: impl Debug); in in_parameters()
116 fn in_trait_impl_parameter(_: impl Debug); in in_trait_impl_parameter()
[all …]
Dcross-return-site-inference.rs3 fn foo(b: bool) -> impl std::fmt::Debug { in foo()
10 fn bar(b: bool) -> impl std::fmt::Debug { in bar()
17 fn bak(b: bool) -> impl std::fmt::Debug { in bak()
24 fn baa(b: bool) -> impl std::fmt::Debug { in baa()
Dnested_impl_trait.rs6 fn bad_in_ret_position(x: impl Into<u32>) -> impl Into<impl Debug> { x } in bad_in_ret_position()
10 fn bad_in_fn_syntax(x: fn() -> impl Into<impl Debug>) {} in bad_in_fn_syntax()
14 fn bad_in_arg_position(_: impl Into<impl Debug>) { } in bad_in_arg_position()
19 fn bad(x: impl Into<u32>) -> impl Into<impl Debug> { x } in bad()
Dmust_outlive_least_region_or_bound.rs18 fn elided3(x: &i32) -> Box<dyn Debug> { Box::new(x) } in elided3()
20 fn explicit3<'a>(x: &'a i32) -> Box<dyn Debug> { Box::new(x) } in explicit3()
26 fn elided5(x: &i32) -> (Box<dyn Debug>, impl Debug) { (Box::new(x), x) } in elided5()
Dimpl-generic-mismatch.rs4 fn foo(&self, _: &impl Debug); in foo()
17 fn bar(&self, _: &impl Debug) { } in bar()
22 fn baz<U: Debug, T: Debug>(&self, _: &U, _: &T); in baz()
26 fn baz<T: Debug>(&self, _: &impl Debug, _: &T) { } in baz()
Duniversal_wrong_bounds.rs9 fn wants_debug(g: impl Debug) { } //~ ERROR expected trait, found derive macro `Debug` in wants_debug()
10 fn wants_display(g: impl Debug) { } //~ ERROR expected trait, found derive macro `Debug` in wants_display()
Duniversal-two-impl-traits.rs3 fn foo(x: impl Debug, y: impl Debug) -> String { in foo()
11 fn much_universe<T: S<impl Debug>, U: IntoIterator<Item = impl Iterator<Item = impl Clone>>>( in much_universe()
Dimpl-trait-in-macro.rs7 fn foo(x: i!(Debug), y: i!(Debug)) -> String { in foo()
15 fn much_universe<T: S<i!(Debug)>, U: IntoIterator<Item = i!(Iterator<Item = i!(Clone)>)>>( in much_universe()
Dimpl-generic-mismatch-ab.rs4 fn foo<A: Debug>(&self, a: &A, b: &impl Debug); in foo()
8 fn foo<B: Debug>(&self, a: &impl Debug, b: &B) { } in foo()
Dtrait_resolution.rs10 fn into_stream(self) -> impl Debug { in into_stream()
14 pub fn into_reader(self) -> impl Debug { in into_reader()
Dlifetimes.rs59 fn foo(x: &impl Debug) -> &impl Debug { x } in foo()
60 fn foo_explicit_lifetime<'a>(x: &'a impl Debug) -> &'a impl Debug { x } in foo_explicit_lifetime()
61 fn foo_explicit_arg<T: Debug>(x: &T) -> &impl Debug { x } in foo_explicit_arg()
101 (x: &'a u32, y: &'b u32) -> impl Debug in unnamed_lifetimes_arent_contained_in_impl_trait_and_will_unify()
103 fn deref<'lt>(x: &'lt u32) -> impl Debug { *x } in unnamed_lifetimes_arent_contained_in_impl_trait_and_will_unify()
/third_party/rust/rust/tests/ui/nll/ty-outlives/
Dimpl-trait-outlives.rs7 fn no_region<'a, T>(x: Box<T>) -> impl Debug + 'a in no_region()
15 fn correct_region<'a, T>(x: Box<T>) -> impl Debug + 'a in correct_region()
22 fn wrong_region<'a, 'b, T>(x: Box<T>) -> impl Debug + 'a in wrong_region()
30 fn outlives_region<'a, 'b, T>(x: Box<T>) -> impl Debug + 'a in outlives_region()
Dty-param-fn.rs5 fn no_region<'a, T>(x: Box<T>) -> Box<Debug + 'a> in no_region()
13 fn correct_region<'a, T>(x: Box<T>) -> Box<Debug + 'a> in correct_region()
20 fn wrong_region<'a, 'b, T>(x: Box<T>) -> Box<Debug + 'a> in wrong_region()
28 fn outlives_region<'a, 'b, T>(x: Box<T>) -> Box<Debug + 'a> in outlives_region()
Dty-param-closure-outlives-from-return-type.rs15 fn no_region<'a, T>(x: Box<T>) -> Box<dyn Debug + 'a> in no_region()
30 fn correct_region<'a, T>(x: Box<T>) -> Box<Debug + 'a> in correct_region()
37 fn wrong_region<'a, 'b, T>(x: Box<T>) -> Box<Debug + 'a> in wrong_region()
45 fn outlives_region<'a, 'b, T>(x: Box<T>) -> Box<Debug + 'a> in outlives_region()
/third_party/rust/rust/tests/ui/impl-trait/in-trait/
Dopaque-in-impl.rs11 fn foo(&self) -> impl Debug; in foo()
15 fn foo(&self) -> impl Debug { in foo()
21 fn foo(&self) -> impl Debug { in foo()
27 fn bar<T>(&self) -> impl Debug; in bar()
31 fn bar<T>(&self) -> impl Debug { in bar()
/third_party/rust/rust/tests/ui/suggestions/
Dimpl-trait-with-missing-bounds.rs11 fn bar<T>(t: T, constraints: impl Iterator) where T: std::fmt::Debug { in bar()
19 fn baz(t: impl std::fmt::Debug, constraints: impl Iterator) { in baz()
35 fn bak(constraints: impl Iterator + std::fmt::Debug) { in bak()
50 fn qux(_: impl std::fmt::Debug) {} in qux()
/third_party/rust/rust/library/core/src/fmt/
Dmod.rs548 pub trait Debug { interface
1883 value1: &dyn Debug, in debug_struct_field1_finish()
1898 value1: &dyn Debug, in debug_struct_field2_finish()
1900 value2: &dyn Debug, in debug_struct_field2_finish()
1916 value1: &dyn Debug, in debug_struct_field3_finish()
1918 value2: &dyn Debug, in debug_struct_field3_finish()
1920 value3: &dyn Debug, in debug_struct_field3_finish()
1937 value1: &dyn Debug, in debug_struct_field4_finish()
1939 value2: &dyn Debug, in debug_struct_field4_finish()
1941 value3: &dyn Debug, in debug_struct_field4_finish()
[all …]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Denum-default-bitfield.rs129 impl Debug { impl
132 impl Debug { impl
135 impl ::std::ops::BitOr<Debug> for Debug { implementation
142 impl ::std::ops::BitOrAssign for Debug { implementation
144 fn bitor_assign(&mut self, rhs: Debug) { in bitor_assign()
148 impl ::std::ops::BitAnd<Debug> for Debug { implementation
155 impl ::std::ops::BitAndAssign for Debug { implementation
157 fn bitand_assign(&mut self, rhs: Debug) { in bitand_assign()
164 pub struct Debug(pub ::std::os::raw::c_uint); struct
/third_party/mesa3d/src/intel/vulkan/bvh/
DREADME.md13 ### Decode the dump
34 ### Note and Limitations:
/third_party/skia/m133/src/gpu/ganesh/
DGrMemoryPool.h132 struct Debug{ struct
136 Debug* fDebug{nullptr}; argument
/third_party/rust/rust/src/tools/rust-analyzer/crates/rust-analyzer/src/
Ddispatch.rs45 R::Params: DeserializeOwned + panic::UnwindSafe + fmt::Debug, in on_sync_mut()
70 R::Params: DeserializeOwned + panic::UnwindSafe + fmt::Debug, in on_sync()
99 R::Params: DeserializeOwned + panic::UnwindSafe + Send + fmt::Debug, in on_no_retry()
135 R::Params: DeserializeOwned + panic::UnwindSafe + Send + fmt::Debug, in on()
148 R::Params: DeserializeOwned + panic::UnwindSafe + Send + fmt::Debug, in on_latency_sensitive()
163 R::Params: DeserializeOwned + panic::UnwindSafe + Send + fmt::Debug, in on_fmt_thread()
188 R::Params: DeserializeOwned + panic::UnwindSafe + Send + fmt::Debug, in on_with_thread_intent()
219 R::Params: DeserializeOwned + fmt::Debug, in parse()
/third_party/rust/rust/src/tools/clippy/tests/ui/
Dunit_arg_empty_blocks.rs12 fn foo3<T1: Debug, T2: Debug, T3: Debug>(t1: T1, t2: T2, t3: T3) { in foo3() argument
/third_party/rust/rust/tests/ui/traits/new-solver/
Dnested-obligations-with-bound-vars-gat.rs25 fn classic_debug<T: Classic>(_: T) in classic_debug()
33 for<'a> T::Assoc<'a>: Debug, in gat_debug()
/third_party/rust/rust/tests/ui/type-alias-impl-trait/
Dgeneric_duplicate_param_use7.rs14 fn three<T: Debug, U>(t: T, t2: T, u: U) -> Two<T, U> { in three()
18 fn four<T: Debug, U, V>(t: T, t2: T, u: U, v: V) -> Two<T, U> { in four()
/third_party/rust/rust/src/tools/miri/tests/pass/
Dvec-matching-fold.rs3 fn foldl<T, U, F>(values: &[T], initial: U, mut function: F) -> U in foldl()
6 T: Debug, in foldl()

1234567