rust/compiler/rustc_ast/src
Nicholas Nethercote 9a23f60f9c Fix TyKind::is_simple_path.
PR #98758 introduced code to avoid redundant assertions in derived code
like this:
```
let _: ::core::clone::AssertParamIsClone<u32>;
let _: ::core::clone::AssertParamIsClone<u32>;
```
But the predicate `is_simple_path` introduced as part of this failed to
account for generic arguments. Therefore the deriving code erroneously
considers types like `Option<bool>` and `Option<f32>` to be the same.

This commit fixes `is_simple_path`.

Fixes #103157.
2022-10-18 15:51:23 +11:00
..
attr add debug assertion for max attr_id 2022-09-14 08:49:12 +08:00
expand
util more simple formatting 2022-09-16 19:07:42 +08:00
ast_traits.rs Rename {Create,Lazy}TokenStream as {To,Lazy}AttrTokenStream. 2022-09-09 17:25:38 +10:00
ast.rs Fix TyKind::is_simple_path. 2022-10-18 15:51:23 +11:00
entry.rs
lib.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
mut_visit.rs Rename AssocItemKind::TyAlias to AssocItemKind::Type 2022-10-10 02:31:37 +00:00
node_id.rs rustc_error, rustc_private, rustc_ast: Switch to stable hash containers 2022-09-10 11:49:12 +02:00
ptr.rs
token.rs Use tidy-alphabetical in the compiler 2022-10-12 17:49:10 +05:30
tokenstream.rs Use tidy-alphabetical in the compiler 2022-10-12 17:49:10 +05:30
visit.rs Rollup merge of #102868 - compiler-errors:rename-assoc-tyalias-to-ty, r=TaKO8Ki 2022-10-10 13:43:43 +05:30