diff options
author | Aleksey Kladov <[email protected]> | 2019-12-12 13:34:03 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-12 13:36:14 +0000 |
commit | 82e9b245587046d2a1ed432225b19023adbe3245 (patch) | |
tree | acabb715858003dcab9af2810065b8fe40095e90 /crates/ra_hir_expand/src | |
parent | 7b0644d81e52d00a7a6795b187f356213ff68225 (diff) |
Move traits to the new loc
Diffstat (limited to 'crates/ra_hir_expand/src')
-rw-r--r-- | crates/ra_hir_expand/src/builtin_macro.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/ra_hir_expand/src/builtin_macro.rs b/crates/ra_hir_expand/src/builtin_macro.rs index ec5ace757..be5f3cbe3 100644 --- a/crates/ra_hir_expand/src/builtin_macro.rs +++ b/crates/ra_hir_expand/src/builtin_macro.rs | |||
@@ -367,6 +367,9 @@ mod tests { | |||
367 | BuiltinFnLikeExpander::FormatArgs, | 367 | BuiltinFnLikeExpander::FormatArgs, |
368 | ); | 368 | ); |
369 | 369 | ||
370 | assert_eq!(expanded, r#"std::fmt::Arguments::new_v1(&[] ,&[std::fmt::ArgumentV1::new(&(arg1(a,b,c)),std::fmt::Display::fmt),std::fmt::ArgumentV1::new(&(arg2),std::fmt::Display::fmt),])"#); | 370 | assert_eq!( |
371 | expanded, | ||
372 | r#"std::fmt::Arguments::new_v1(&[] ,&[std::fmt::ArgumentV1::new(&(arg1(a,b,c)),std::fmt::Display::fmt),std::fmt::ArgumentV1::new(&(arg2),std::fmt::Display::fmt),])"# | ||
373 | ); | ||
371 | } | 374 | } |
372 | } | 375 | } |