rust-analyzer/crates/hir-ty/src
bors f6fc109fcb Auto merge of #17287 - Veykril:sysroot-encode-empty, r=Veykril
Allow sysroots to only consist of the source root dir

Fixes https://github.com/rust-lang/rust-analyzer/issues/17159

This PR encodes the `None` case of an optional sysroot into `Sysroot` itself. This simplifies a lot of things and allows us to have sysroots that consist of nothing, only standard library sources, everything but the standard library sources or everything. This makes things a lot more flexible. Additionally, this removes the workspace status bar info again, as it turns out that that can be too much information for the status bar to handle (this is better rendered somewhere else, like in the status view).
2024-05-23 18:13:47 +00:00
..
consteval fix: Check stack depth to prevent stack overflows in create_memory_map 2024-03-24 10:19:25 +01:00
diagnostics chore: fix a few spans without .entered() 2024-04-17 12:44:49 -04:00
infer Auto merge of #17174 - Kohei316:fix-infer-async-block-with-tail-return-expr, r=Veykril 2024-05-23 08:42:09 +00:00
layout Allow sysroots to only consist of the source root dir 2024-05-23 20:12:31 +02:00
mir Peek for panic message in test output 2024-04-21 08:50:25 +02:00
tests fix lifetime bound var index in dyn trait 2024-05-05 23:40:34 +05:30
autoderef.rs Re-use InferenceTable by snapshotting in method resolution 2024-03-05 12:39:27 +01:00
builder.rs Consider ADT generic parameter defaults for unsubstituted layout calculations 2024-04-03 09:01:27 +02:00
chalk_db.rs fix: Tracing span names should match function names 2024-04-30 11:22:47 -07:00
chalk_ext.rs Implement BeginPanic for mir eval 2024-04-19 12:42:32 +02:00
consteval.rs Cleanup util::Generics method names 2024-04-06 14:29:40 +02:00
db.rs feat: Implement ATPIT 2024-03-16 03:31:12 +09:00
diagnostics.rs Merge commit '7219414e81810fd4d967136c4a0650523892c157' into sync-from-ra 2024-01-28 15:56:54 +02:00
display.rs Simplify 2024-05-22 21:57:44 +02:00
infer.rs different error code based on variant 2024-04-23 20:54:03 +08:00
inhabitedness.rs chore: fix a few spans without .entered() 2024-04-17 12:44:49 -04:00
interner.rs Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
lang_items.rs Merge commit 'aa9bc8612514d216f84eec218dfd19ab83f3598a' into sync-from-ra 2023-06-05 12:04:23 +03:00
layout.rs Refactor float Primitives to a separate Float type 2024-05-06 14:56:10 +01:00
lib.rs Show fn traits in signature info for trait implementors 2024-05-18 16:22:59 +02:00
lower.rs fix lifetime bound var index in dyn trait 2024-05-05 23:40:34 +05:30
mapping.rs include lifetime in ParamKind and in Generics::provenance_split 2024-03-18 17:18:08 +05:30
method_resolution.rs fix: Tracing span names should match function names 2024-04-30 11:22:47 -07:00
mir.rs internal: Treat the self param as different from patterns when lowering 2024-03-11 09:46:28 +01:00
primitive.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
test_db.rs Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
tests.rs remove redundant clone()s 2024-03-17 14:06:21 +01:00
tls.rs Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
traits.rs Show fn traits in signature info for trait implementors 2024-05-18 16:22:59 +02:00
utils.rs Cleanup util::Generics method names 2024-04-06 14:29:40 +02:00