diff options
| author | bors <bors@rust-lang.org> | 2023-05-05 15:30:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-05 15:30:22 +0000 |
| commit | 371120bdbf58a331db5dcfb2d9cddc040f486de8 (patch) | |
| tree | ae2b79d2d844c134966d2d5577674984eb60e773 /clippy_lints/src/trailing_empty_array.rs | |
| parent | d7173e2599fd96364832c7599bd3edc31f15a914 (diff) | |
| parent | 79656cc95e0a1156360b678db71b1b851c3d2a61 (diff) | |
| download | rust-371120bdbf58a331db5dcfb2d9cddc040f486de8.tar.gz rust-371120bdbf58a331db5dcfb2d9cddc040f486de8.zip | |
Auto merge of #10749 - flip1995:rustup, r=flip1995
Rustup r? `@ghost` changelog: none
Diffstat (limited to 'clippy_lints/src/trailing_empty_array.rs')
| -rw-r--r-- | clippy_lints/src/trailing_empty_array.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/trailing_empty_array.rs b/clippy_lints/src/trailing_empty_array.rs index f40229e03a2..bb9da3a2047 100644 --- a/clippy_lints/src/trailing_empty_array.rs +++ b/clippy_lints/src/trailing_empty_array.rs @@ -46,7 +46,7 @@ impl<'tcx> LateLintPass<'tcx> for TrailingEmptyArray { None, &format!( "consider annotating `{}` with `#[repr(C)]` or another `repr` attribute", - cx.tcx.def_path_str(item.owner_id.to_def_id()) + cx.tcx.def_path_str(item.owner_id) ), ); } |
