diff options
| author | Esteban Kuber <esteban@kuber.com.ar> | 2021-11-20 18:46:36 +0000 |
|---|---|---|
| committer | Esteban Kuber <esteban@kuber.com.ar> | 2021-12-03 18:41:40 +0000 |
| commit | 962b2197a5d5796ee030a05f534ee0fde8ce07bb (patch) | |
| tree | b9cec8cf9bceb90e7ad55c5f669eee43a29da822 /src | |
| parent | 8bee2b88c075a2f007a7d5762727a840477c0893 (diff) | |
| download | rust-962b2197a5d5796ee030a05f534ee0fde8ce07bb.tar.gz rust-962b2197a5d5796ee030a05f534ee0fde8ce07bb.zip | |
Annotate `derive`d spans and move span suggestion code
* Annotate `derive`d spans from the user's code with the appropciate context * Add `Span::can_be_used_for_suggestion` to query if the underlying span at the users' code
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/ui/issues/issue-38821.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/issues/issue-38821.stderr b/src/test/ui/issues/issue-38821.stderr index 3a8b69224d3..cdf1f0dfc53 100644 --- a/src/test/ui/issues/issue-38821.stderr +++ b/src/test/ui/issues/issue-38821.stderr @@ -12,8 +12,8 @@ LL | impl<T: NotNull> IntoNullable for T { = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider further restricting the associated type | -LL | Expr: Expression<SqlType=<Col::SqlType as IntoNullable>::Nullable>, <Col as Expression>::SqlType: NotNull - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +LL | Expr: Expression<SqlType=<Col::SqlType as IntoNullable>::Nullable>, <Col as Expression>::SqlType: NotNull, + | +++++++++++++++++++++++++++++++++++++++ error: aborting due to previous error |
