rust-analyzer/crates/hir_def/src
bors[bot] 7f28b49759
Merge #11043
11043: fix: fix incorrect mismatched argument count diagnostic with `std::arch` functions r=jonas-schievink a=jonas-schievink

Adds basic support for `#[rustc_legacy_const_generics]`.

Fixes https://github.com/rust-analyzer/rust-analyzer/issues/10009

Full support would involve actually checking call arguments against the right expected types.

bors r+

Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
2021-12-17 17:46:42 +00:00
..
body Build per-block ItemTrees 2021-11-26 00:17:20 +01:00
item_tree Move synstructure hack out of ItemTree lowering 2021-12-08 15:44:52 +01:00
macro_expansion_tests Fix concat! with captured expression 2021-12-10 15:17:31 +01:00
nameres Treat extern blocks as item containers 2021-12-07 17:31:26 +01:00
path Move incorrect case diagnostic things into their module 2021-11-20 17:25:57 +01:00
adt.rs Rename *Owner traits to Has* 2021-09-27 12:54:24 +02:00
attr.rs Treat extern blocks as item containers 2021-12-07 17:31:26 +01:00
body.rs Don't resolve attributes to non attribute macros 2021-10-21 12:22:40 +02:00
builtin_attr.rs Improve hover message for inert attributes 2021-12-03 20:28:15 +01:00
builtin_type.rs Introduce TypeCtor::Scalar 2021-02-28 01:20:04 +01:00
child_by_source.rs Enable auto-import and qualify-path in derive attributes 2021-10-28 18:40:38 +02:00
data.rs Initial support for #[rustc_legacy_const_generics] 2021-12-17 18:45:56 +01:00
db.rs Treat extern blocks as item containers 2021-12-07 17:31:26 +01:00
dyn_map.rs Rename ra_hir_def -> hir_def 2020-08-13 16:29:33 +02:00
expr.rs Replace Vec with Box in Path.generic_args field 2021-11-20 16:37:41 +01:00
find_path.rs Replace if let with match where appropriate 2021-10-05 09:00:21 +11:00
generics.rs Remove neesless clone 2021-10-10 10:50:51 +09:00
import_map.rs Treat extern blocks as item containers 2021-12-07 17:31:26 +01:00
intern.rs internal: intern AttrInput 2021-05-25 00:50:19 +02:00
item_scope.rs collect macro_rules! macros into macro declarations 2021-11-29 05:28:22 +00:00
item_tree.rs Remove needless clones 2021-12-17 17:35:10 +02:00
keys.rs Enable auto-import and qualify-path in derive attributes 2021-10-28 18:40:38 +02:00
lang_item.rs Look for enum variants and trait assoc functions when looking for lang items 2021-08-07 22:30:13 +02:00
lib.rs Treat extern blocks as item containers 2021-12-07 17:31:26 +01:00
macro_expansion_tests.rs Add to macro testing infra to emit token map ids 2021-11-22 16:51:09 +01:00
nameres.rs wip 2021-11-27 11:25:05 +00:00
path.rs Replace Vec with Box in Path.generic_args field 2021-11-20 16:37:41 +01:00
per_ns.rs Add more profiling for flyimports 2021-06-10 23:43:46 +03:00
resolver.rs Remove some allocs 2021-12-09 18:04:32 +01:00
src.rs Make ItemTreeId its own type 2021-03-18 01:53:22 +01:00
test_db.rs fix: Typos 2021-07-27 18:31:21 -04:00
trace.rs Use ‘index’ terminology for arena consistently 2021-01-17 18:38:08 +11:00
type_ref.rs Replace if let with match where appropriate 2021-10-05 09:00:21 +11:00
visibility.rs Add a coverage mark 2021-07-05 17:06:16 +02:00