Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to strck 1.0 #709

Merged
merged 1 commit into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ proc-macro2 = "1.0.27"
serde = { version = "1.0", features = ["derive", "alloc"], default-features = false }
displaydoc = { version = "0.2", optional = true }
smallvec = "1.9.0"
strck_ident = { version = "0.1", features = ["rust"] }
strck = { version = "1.0", features = ["ident"] }
either = {version = "1.9.0", optional = true, default-features = false}

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion core/src/hir/elision.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ impl LifetimeLowerer for &ast::LifetimeEnv {

#[cfg(test)]
mod tests {
use strck_ident::IntoCk;
use strck::IntoCk;

/// Convert a syntax tree into a [`TypeContext`].
macro_rules! tcx {
Expand Down
2 changes: 1 addition & 1 deletion core/src/hir/lowering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use super::{
use crate::ast::attrs::AttrInheritContext;
use crate::{ast, Env};
use core::fmt;
use strck_ident::IntoCk;
use strck::IntoCk;

/// An error from lowering the AST to the HIR.
#[derive(Debug)]
Expand Down
2 changes: 1 addition & 1 deletion core/src/hir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ pub use types::*;
pub use lowering::{ErrorAndContext, ErrorContext, LoweringError};

pub use crate::ast::{Docs, DocsUrlGenerator};
pub use strck_ident::rust::{Ident, IdentBuf};
pub use strck::ident::rust::{Ident, IdentBuf};