Skip to content

Commit

Permalink
Update the other crates too
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadrieril committed Mar 7, 2024
1 parent 1b0b422 commit e31484c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 41 deletions.
45 changes: 11 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ tt = { path = "./crates/tt", version = "0.0.0" }
vfs-notify = { path = "./crates/vfs-notify", version = "0.0.0" }
vfs = { path = "./crates/vfs", version = "0.0.0" }

ra-ap-rustc_lexer = { version = "0.40.0", default-features = false }
ra-ap-rustc_parse_format = { version = "0.40.0", default-features = false }
ra-ap-rustc_index = { version = "0.40.0", default-features = false }
ra-ap-rustc_abi = { version = "0.40.0", default-features = false }
ra-ap-rustc_lexer = { version = "0.42.0", default-features = false }
ra-ap-rustc_parse_format = { version = "0.42.0", default-features = false }
ra-ap-rustc_index = { version = "0.42.0", default-features = false }
ra-ap-rustc_abi = { version = "0.42.0", default-features = false }
ra-ap-rustc_pattern_analysis = { version = "0.42.0", default-features = false }

# local crates that aren't published to crates.io. These should not have versions.
Expand Down
6 changes: 3 additions & 3 deletions crates/hir-ty/src/layout.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Compute the binary representation of a type

use std::fmt;
use std::{borrow::Cow, fmt};

use base_db::salsa::Cycle;
use chalk_ir::{AdtId, FloatTy, IntTy, TyKind, UintTy};
Expand Down Expand Up @@ -114,8 +114,8 @@ struct LayoutCx<'a> {
impl<'a> LayoutCalculator for LayoutCx<'a> {
type TargetDataLayoutRef = &'a TargetDataLayout;

fn delayed_bug(&self, txt: String) {
never!("{}", txt);
fn delayed_bug(&self, txt: impl Into<Cow<'static, str>>) {
never!("{}", txt.into());
}

fn current_data_layout(&self) -> &'a TargetDataLayout {
Expand Down

0 comments on commit e31484c

Please sign in to comment.