]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #80870 - petrochenkov:bmactable, r=oli-obk
authorYuki Okushi <huyuumi.dev@gmail.com>
Mon, 11 Jan 2021 22:59:13 +0000 (07:59 +0900)
committerGitHub <noreply@github.com>
Mon, 11 Jan 2021 22:59:13 +0000 (07:59 +0900)
resolve: Simplify built-in macro table

We don't use full `SyntaxExtension`s from the table, only `SyntaxExtensionKind`s, and `Ident` in `register_builtin_macro` always had dummy span. This PR removes unnecessary data from the table and related function signatures.

Noticed when reviewing #80850.

1  2 
compiler/rustc_resolve/src/lib.rs
compiler/rustc_resolve/src/macros.rs

Simple merge
Simple merge