diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2023-05-04 00:17:23 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-04 00:17:23 +0530 |
| commit | 80df4ab403cbdaf0fc7a8301d8490ee60d7063bf (patch) | |
| tree | 9c49bfac0499b037a7b2e35ea6c374962a1e2249 /compiler/rustc_span/src | |
| parent | 32f3ddb902e03b7ac23de3e677ff27bc97eff0d6 (diff) | |
| parent | 6fca051b76342f8c21ec85fb9a77103b7c05adb9 (diff) | |
| download | rust-80df4ab403cbdaf0fc7a8301d8490ee60d7063bf.tar.gz rust-80df4ab403cbdaf0fc7a8301d8490ee60d7063bf.zip | |
Rollup merge of #110791 - compiler-errors:negative-bounds, r=oli-obk
Implement negative bounds for internal testing purposes Implements partial support the `!` negative polarity on trait bounds. This is incomplete, but should allow us to at least be able to play with the feature. Not even gonna consider them as a public-facing feature, but I'm implementing them because would've been nice to have in UI tests, for example in #110671.
Diffstat (limited to 'compiler/rustc_span/src')
| -rw-r--r-- | compiler/rustc_span/src/symbol.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 7969b848fd9..714d10f2341 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -984,6 +984,7 @@ symbols! { needs_panic_runtime, neg, negate_unsigned, + negative_bounds, negative_impls, neon, never, |
