From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 61BDA3835566; Fri, 9 Dec 2022 11:41:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 61BDA3835566 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670586070; bh=ZjkbITt9GtBkJm7sZFCpbxt/EPvgZsEmINm4VTzUbP4=; h=From:To:Subject:Date:From; b=MMxpjiY98Ou33nyViDXM/1CoM/UTeCiVlLnMf09Ek7MMbElZe0emt3lwwCHpdngkz CYQbGbqiB+PjTZBnNX1dya6b2VGgH4Kmt8vxx7f4R6awEKxKSMputEKbBTf4HP6Iq7 uXeD7DbfIntoXbz/sWgWSE7kfQ4AFMy6LIJKl4cY= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Merge #1678 #1682 #1687 X-Act-Checkin: gcc X-Git-Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: e91b6e5339c36ecd4b6fc103c39d38757b1c7e4a X-Git-Newrev: 62d1620c91053438399064fa4eddb15d09cbabf4 Message-Id: <20221209114110.61BDA3835566@sourceware.org> Date: Fri, 9 Dec 2022 11:41:10 +0000 (GMT) List-Id: https://gcc.gnu.org/g:62d1620c91053438399064fa4eddb15d09cbabf4 commit 62d1620c91053438399064fa4eddb15d09cbabf4 Merge: e91b6e5339c a3a755838fd 88e509b1b14 ca0a935cdc3 Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> Date: Fri Dec 9 10:08:22 2022 +0000 Merge #1678 #1682 #1687 1678: Cleanup unused parameters r=CohenArthur a=philberty This starts removing some of the unused parameters within the codebase 1682: const evaluator: Simplify get_nth_callarg r=CohenArthur a=CohenArthur 1687: Repair 'gcc/rust/lang.opt' comment r=CohenArthur a=tschwinge ... lost in #1527 commit 138a6260124740208b8f3aff2e38617f43b05fe8 "rust: Add -frust-compile-until option". Co-authored-by: Philip Herron Co-authored-by: Arthur Cohen Co-authored-by: Thomas Schwinge Diff: gcc/rust/backend/rust-compile-type.cc | 8 +- gcc/rust/backend/rust-constexpr.cc | 33 +- gcc/rust/backend/rust-tree.cc | 38 +-- .../checks/errors/privacy/rust-privacy-reporter.cc | 58 ++-- .../checks/errors/privacy/rust-reachability.cc | 4 +- .../errors/privacy/rust-visibility-resolver.cc | 8 +- gcc/rust/checks/errors/rust-const-checker.cc | 132 ++++---- gcc/rust/checks/errors/rust-unsafe-checker.cc | 142 ++++----- gcc/rust/checks/lints/rust-lint-marklive.cc | 2 +- gcc/rust/checks/lints/rust-lint-unused-var.cc | 2 +- gcc/rust/expand/rust-macro-builtins.cc | 20 +- gcc/rust/hir/rust-ast-lower-base.cc | 352 ++++++++++----------- gcc/rust/hir/rust-hir-dump.cc | 4 +- gcc/rust/hir/tree/rust-hir-full-test.cc | 2 +- gcc/rust/lang.opt | 4 +- gcc/rust/lex/rust-lex.cc | 6 +- gcc/rust/lex/rust-lex.h | 2 +- gcc/rust/metadata/rust-export-metadata.cc | 24 +- gcc/rust/resolve/rust-ast-resolve-expr.cc | 6 +- gcc/rust/resolve/rust-ast-resolve-type.cc | 6 +- gcc/rust/resolve/rust-ast-verify-assignee.h | 8 +- gcc/rust/resolve/rust-early-name-resolver.cc | 120 +++---- gcc/rust/typecheck/rust-hir-type-check-expr.h | 32 +- gcc/rust/typecheck/rust-hir-type-check-item.h | 4 +- gcc/rust/typecheck/rust-hir-type-check-pattern.cc | 10 +- gcc/rust/typecheck/rust-tyty-rules.h | 48 +-- gcc/rust/util/rust-attributes.cc | 312 +++++++++--------- 27 files changed, 665 insertions(+), 722 deletions(-)