Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
dee1c26
xous: ffi: fix lend_impl() return values
xobs Dec 7, 2023
944dc21
xous: ffi: correct size of freed memory
xobs Dec 24, 2023
118e8f7
xous: std: thread_parking: fix deadlocks
bunnie Dec 22, 2023
626926f
std: xous: rework condvar to fix soundness issues
xobs Dec 24, 2023
f732d2b
std: xous: pass entire memory range to flag updater
xobs Dec 29, 2023
b5c1c47
std: xous: use blocking_scalars for mutex unlock
xobs Dec 29, 2023
eabd445
std: xous: rewrite rwlock to be more robust
xobs Dec 24, 2023
762e58a
std: once: use queue implementation on Xous
xobs Dec 24, 2023
007bf7a
std: xous: fix thread_local_key under tests
xobs Dec 24, 2023
ef4f722
std: xous: share allocator symbol in tests
xobs Dec 29, 2023
aa8acc2
xous: net: initial commit of network support
xobs Nov 7, 2023
aa73860
std: xous: mark stdio structs as `repr(C)`
xobs Dec 29, 2023
99b0659
std: xous: use constants for stdout and stderr
xobs Dec 29, 2023
50e4fed
xous: thread: mark thread_main() as divergent
xobs Dec 29, 2023
89cf177
std::net: bind update for using backlog as `-1` too.
devnexen Jan 13, 2024
a8bb418
make unsafe_op_in_unsafe_fn MachineApplicable and add it to 2024 comp…
asquared31415 Jan 13, 2024
755cfbf
core: introduce split_at{,_mut}_checked
mina86 Dec 3, 2023
9c3091e
exclude unexported macro bindings from extern crate
bvanjoi Dec 28, 2023
1afd216
use u64 to represent file size
onur-ozkan Jan 21, 2024
50cbbef
review
mina86 Jan 21, 2024
4b81878
Sort attributes in `compiler/rustc_errors/src/lib.rs`.
nnethercote Jan 13, 2024
d2fe1e5
Remove bogus `{code}` attributes on `TraitImplMismatch`.
nnethercote Jan 14, 2024
9ddc424
Stop using `String` for error codes.
nnethercote Jan 13, 2024
802d16c
Don't actually make bound ty/const for RTN
compiler-errors Jan 21, 2024
4e2f6ec
Rename `LintContext::struct_span_lint` as `LintContext::span_lint`.
nnethercote Jan 16, 2024
109a03b
Rename `LintContext::lookup` as `LintContext::opt_span_lint`.
nnethercote Jan 16, 2024
1c58e6e
Rename `LintContext::lookup_with_diagnostics` as `LintContext::span_l…
nnethercote Jan 16, 2024
46ef313
Rename `LintContext::emit_spanned_lint` as `LintContext::emit_span_li…
nnethercote Jan 16, 2024
3617f7c
Rename `LintLevelsBuilder::struct_lint` as `LintLevelsBuilder::opt_sp…
nnethercote Jan 16, 2024
cbc05f0
Rename `LintLevelsBuilder::emit_spanned_lint` as `LintLevelsBuilder::…
nnethercote Jan 16, 2024
303dab9
Rename `TyCtxt::struct_lint_node` as `TyCtxt::node_lint`.
nnethercote Jan 16, 2024
40636b9
Rename `TyCtxt::struct_span_lint_hir` as `TyCtxt::node_span_lint`.
nnethercote Jan 16, 2024
0f3dc6c
Rename `TyCtxt::emit_lint` as `TyCtxt::emit_node_lint`.
nnethercote Jan 16, 2024
6952531
Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`.
nnethercote Jan 16, 2024
0a03a9f
Rename `struct_lint_level` as `lint_level`.
nnethercote Jan 16, 2024
4b3cc3a
Rollup merge of #118578 - mina86:c, r=dtolnay
matthiaskrgr Jan 22, 2024
c1f9361
Rollup merge of #119369 - bvanjoi:fix-119301, r=petrochenkov
matthiaskrgr Jan 22, 2024
9cab607
Rollup merge of #119408 - betrusted-io:xous-fixes-add-network, r=Mark…
matthiaskrgr Jan 22, 2024
621981d
Rollup merge of #119943 - devnexen:listener_update3, r=thomcc
matthiaskrgr Jan 22, 2024
80678b6
Rollup merge of #119948 - asquared31415:unsafe_op_in_unsafe_fn_fix, r…
matthiaskrgr Jan 22, 2024
f988b92
Rollup merge of #119972 - nnethercote:add-ErrCode, r=oli-obk
matthiaskrgr Jan 22, 2024
affaead
Rollup merge of #119999 - onur-ozkan:remote-test-tools, r=Mark-Simula…
matthiaskrgr Jan 22, 2024
05828b1
Rollup merge of #120017 - nnethercote:lint-api, r=compiler-errors
matthiaskrgr Jan 22, 2024
1254ebe
Rollup merge of #120213 - compiler-errors:dont-make-non-lifetime-bind…
matthiaskrgr Jan 22, 2024
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
Prev Previous commit
Next Next commit
Rename LintLevelsBuilder::emit_spanned_lint as `LintLevelsBuilder::…
…emit_span_lint`.
  • Loading branch information
nnethercote committed Jan 22, 2024
commit cbc05f044c0cf8854100a7806002cec04167a7b8
14 changes: 7 additions & 7 deletions compiler/rustc_lint/src/levels.rs
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ impl<'s, P: LintLevelsProvider> LintLevelsBuilder<'s, P> {
sub,
});
} else {
self.emit_spanned_lint(
self.emit_span_lint(
FORBIDDEN_LINT_GROUPS,
src.span().into(),
OverruledAttributeLint {
Expand Down Expand Up @@ -925,7 +925,7 @@ impl<'s, P: LintLevelsProvider> LintLevelsBuilder<'s, P> {
}
Err((Some(ids), ref new_lint_name)) => {
let lint = builtin::RENAMED_AND_REMOVED_LINTS;
self.emit_spanned_lint(
self.emit_span_lint(
lint,
sp.into(),
DeprecatedLintName {
Expand Down Expand Up @@ -976,13 +976,13 @@ impl<'s, P: LintLevelsProvider> LintLevelsBuilder<'s, P> {
RenamedLintSuggestion::WithSpan { suggestion: sp, replace };
let name = tool_ident.map(|tool| format!("{tool}::{name}")).unwrap_or(name);
let lint = RenamedLint { name: name.as_str(), suggestion };
self.emit_spanned_lint(RENAMED_AND_REMOVED_LINTS, sp.into(), lint);
self.emit_span_lint(RENAMED_AND_REMOVED_LINTS, sp.into(), lint);
}

CheckLintNameResult::Removed(ref reason) => {
let name = tool_ident.map(|tool| format!("{tool}::{name}")).unwrap_or(name);
let lint = RemovedLint { name: name.as_str(), reason };
self.emit_spanned_lint(RENAMED_AND_REMOVED_LINTS, sp.into(), lint);
self.emit_span_lint(RENAMED_AND_REMOVED_LINTS, sp.into(), lint);
}

CheckLintNameResult::NoLint(suggestion) => {
Expand All @@ -995,7 +995,7 @@ impl<'s, P: LintLevelsProvider> LintLevelsBuilder<'s, P> {
UnknownLintSuggestion::WithSpan { suggestion: sp, replace, from_rustc }
});
let lint = UnknownLint { name, suggestion };
self.emit_spanned_lint(UNKNOWN_LINTS, sp.into(), lint);
self.emit_span_lint(UNKNOWN_LINTS, sp.into(), lint);
}
}
// If this lint was renamed, apply the new lint instead of ignoring the attribute.
Expand Down Expand Up @@ -1041,7 +1041,7 @@ impl<'s, P: LintLevelsProvider> LintLevelsBuilder<'s, P> {
continue;
};

self.emit_spanned_lint(
self.emit_span_lint(
UNUSED_ATTRIBUTES,
lint_attr_span.into(),
IgnoredUnlessCrateSpecified { level: level.as_str(), name: lint_attr_name },
Expand Down Expand Up @@ -1111,7 +1111,7 @@ impl<'s, P: LintLevelsProvider> LintLevelsBuilder<'s, P> {
}

#[track_caller]
pub fn emit_spanned_lint(
pub fn emit_span_lint(
&self,
lint: &'static Lint,
span: MultiSpan,
Expand Down