third_party_rust_cxx/syntax
David Tolnay 40bb0d3779
Resolve needless_borrow clippy lint
error: the borrowed expression implements the required traits
      --> syntax/check.rs:91:25
       |
    91 |         cx.error(ident, &msg);
       |                         ^^^^ help: change this to: `msg`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
       = note: `-D clippy::needless-borrow` implied by `-D clippy::all`
2022-12-29 18:34:05 -08:00
..
atom.rs Support c_char type 2020-11-25 20:04:09 -08:00
attrs.rs Propagate attrs from extern mod onto all contents 2022-07-04 09:33:54 -07:00
cfg.rs Run cfg evaluator to strip syntax tree 2022-01-17 19:54:54 -08:00
check.rs Resolve needless_borrow clippy lint 2022-12-29 18:34:05 -08:00
derive.rs Added Serde Serialize/Deserialize traits 2021-10-26 19:48:43 -07:00
discriminant.rs Rename variants_from_header optin to "experimental-enum-variants-from-header" 2022-01-18 17:29:01 -08:00
doc.rs Resolve dead code warnings uncovered by rustc_privacy/rustc_resolve refactor 2022-01-10 18:50:49 -08:00
error.rs Diagnostic for invalid lifetime param 'static 2021-04-08 18:45:08 -07:00
file.rs Handle module-level cfg attributes 2022-01-18 00:39:25 -08:00
ident.rs Add ForeignName wrapper around non-Rust names 2021-01-01 17:57:14 -08:00
impls.rs Begin development on async fn support 2022-01-18 17:58:16 -08:00
improper.rs Add a void ptr cast for extern type aliases containing Rust-native types 2021-03-26 18:13:41 -04:00
instantiate.rs Track the outer type's spans too for implicit impls 2021-03-27 01:51:08 -04:00
mangle.rs Document the arrangements of preprocessor variables 2021-02-17 15:56:07 -08:00
map.rs Resolve dead code warnings uncovered by rustc_privacy/rustc_resolve refactor 2022-01-10 18:50:49 -08:00
mod.rs Begin development on async fn support 2022-01-18 17:58:16 -08:00
names.rs Resolve dead code warnings uncovered by rustc_privacy/rustc_resolve refactor 2022-01-10 18:50:49 -08:00
namespace.rs Move C++-specific namespace code unused by the proc macro 2020-11-01 22:53:37 -08:00
parse.rs Propagate attrs from extern mod onto all contents 2022-07-04 09:33:54 -07:00
pod.rs Support raw pointers in cxx::bridge. 2021-01-23 11:34:13 -08:00
qualified.rs Provide a suggestion to replace quoted raw identifier 2022-11-08 00:50:54 -08:00
report.rs Batch errors from the parser 2020-05-04 01:29:17 -07:00
resolve.rs Handle unrecognized type names in checking signature for mutable return type 2021-03-28 04:07:57 -04:00
set.rs Add wrapper to prevent iteration of unordered maps 2020-12-31 17:15:56 -08:00
symbol.rs Resolve dead code warnings uncovered by rustc_privacy/rustc_resolve refactor 2022-01-10 18:50:49 -08:00
tokens.rs No-std fixes for Box, String, Pin, c_char 2022-10-21 09:18:48 -07:00
toposort.rs Add wrapper to prevent iteration of unordered maps 2020-12-31 17:15:56 -08:00
trivial.rs Support slice of trivial extern type alias 2021-07-23 14:16:46 -07:00
types.rs Rename variants_from_header optin to "experimental-enum-variants-from-header" 2022-01-18 17:29:01 -08:00
visit.rs Factor out Type traversal to a Visit trait 2021-03-26 17:36:51 -04:00