-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
chore: Update rust-toolchain to nightly-2023-10-04 #1095
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[workspace] | ||
members = ["crates/stc", "crates/binding_wasm"] | ||
resolver = "2" | ||
|
||
[profile.release] | ||
lto = "off" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ impl Analyzer<'_, '_> { | |
/// orders. | ||
/// | ||
/// After splitting, we can check if each element is assignable. | ||
#[allow(clippy::needless_pass_by_ref_mut)] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Complaining about I didn't want to change APIs here, but that's probably more correct. |
||
pub(crate) fn assign_to_tpl(&mut self, data: &mut AssignData, l: &TplType, r_ty: &Type, opts: AssignOpts) -> VResult<()> { | ||
let span = opts.span; | ||
let r_ty = r_ty.normalize(); | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -111,10 +111,7 @@ impl Analyzer<'_, '_> { | |
#[cfg(debug_assertions)] | ||
let _tracing = dev_span!("infer_arg_types"); | ||
|
||
warn!( | ||
"infer_arg_types: {:?}", | ||
type_params.iter().map(|p| format!("{}, ", p.name)).collect::<String>() | ||
); | ||
warn!("infer_arg_types: {:?}", type_params.iter().map(|p| &p.name).join(", ")); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Technically a different format (no trailing |
||
|
||
let timer = PerfTimer::noop(); | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
nightly-2023-05-25 | ||
nightly-2023-10-04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was complaining about
Arc
on a non-Send/Sync type, interestingly. I think that's probably a clippy bug? Strictly, you don't even need an rc at all, but the docs for SourceMap suggest using this alias, which suppresses the lint.