mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 13:23:25 +00:00
Implement next trait solver
This commit is contained in:
parent
44bdfdf768
commit
9418a3f2df
109 changed files with 19148 additions and 1317 deletions
|
|
@ -37,10 +37,10 @@ impl StopWatch {
|
|||
.build()
|
||||
.map_err(|err| eprintln!("Failed to create perf counter: {err}"))
|
||||
.ok();
|
||||
if let Some(counter) = &mut counter {
|
||||
if let Err(err) = counter.enable() {
|
||||
eprintln!("Failed to start perf counter: {err}")
|
||||
}
|
||||
if let Some(counter) = &mut counter
|
||||
&& let Err(err) = counter.enable()
|
||||
{
|
||||
eprintln!("Failed to start perf counter: {err}")
|
||||
}
|
||||
counter
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue