mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-02 16:28:46 +00:00
3b347eaa4e
7134: Fix infer error of macro invocation in array expr r=edwin0cheng a=edwin0cheng Fixed following infer error: ```rust macro_rules! bar { () => {0u32} } fn test() { let a = [bar!()]; // a : [unknown] } ``` bors r+ Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com> |
||
---|---|---|
.. | ||
coercion.rs | ||
display_source_code.rs | ||
macros.rs | ||
method_resolution.rs | ||
never_type.rs | ||
patterns.rs | ||
regression.rs | ||
simple.rs | ||
traits.rs |