diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2023-12-20 15:22:06 +0100 |
|---|---|---|
| committer | León Orell Valerian Liehr <me@fmease.dev> | 2023-12-20 19:39:46 +0100 |
| commit | 5e4f12b41a13d6adf883cfeae8a17724ea457faf (patch) | |
| tree | dc503e9554557b08835ac3127af07a47c29018e2 /compiler/rustc_hir/src/hir.rs | |
| parent | bf9229a2e366b4c311f059014a4aa08af16de5d8 (diff) | |
| download | rust-5e4f12b41a13d6adf883cfeae8a17724ea457faf.tar.gz rust-5e4f12b41a13d6adf883cfeae8a17724ea457faf.zip | |
Refactor AST trait bound modifiers
Diffstat (limited to 'compiler/rustc_hir/src/hir.rs')
| -rw-r--r-- | compiler/rustc_hir/src/hir.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_hir/src/hir.rs b/compiler/rustc_hir/src/hir.rs index 760945554f0..05f33e6ab40 100644 --- a/compiler/rustc_hir/src/hir.rs +++ b/compiler/rustc_hir/src/hir.rs @@ -418,8 +418,7 @@ pub enum GenericArgsParentheses { ParenSugar, } -/// A modifier on a bound, currently this is only used for `?Sized`, where the -/// modifier is `Maybe`. Negative bounds should also be handled here. +/// A modifier on a trait bound. #[derive(Copy, Clone, PartialEq, Eq, Hash, Debug, HashStable_Generic)] pub enum TraitBoundModifier { None, |
