mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Implement some intrinsics
This commit is contained in:
parent
8e73ea5253
commit
3303a6eff5
7 changed files with 521 additions and 145 deletions
|
@ -409,7 +409,6 @@ pub(super) fn definition(
|
|||
}
|
||||
match it.eval(db) {
|
||||
Ok(()) => Some("pass".into()),
|
||||
Err(MirEvalError::Panic) => Some("fail".into()),
|
||||
Err(MirEvalError::MirLowerError(f, e)) => {
|
||||
let name = &db.function_data(f).name;
|
||||
Some(format!("error: fail to lower {name} due {e:?}"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue