diff options
| author | Michael Goulet <michael@errs.io> | 2021-11-30 21:30:05 -0800 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2022-03-31 08:04:53 -0700 |
| commit | de04c05dea10fc03cb626338ce1d55f4c90f58b0 (patch) | |
| tree | 0a5347cfe1642013b5a97ad421b275c18471daf7 /src/test/ui/span | |
| parent | df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e (diff) | |
| download | rust-de04c05dea10fc03cb626338ce1d55f4c90f58b0.tar.gz rust-de04c05dea10fc03cb626338ce1d55f4c90f58b0.zip | |
Specialize suggestion for Option<T>
Diffstat (limited to 'src/test/ui/span')
| -rw-r--r-- | src/test/ui/span/E0072.stderr | 4 | ||||
| -rw-r--r-- | src/test/ui/span/multiline-span-E0072.stderr | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/span/E0072.stderr b/src/test/ui/span/E0072.stderr index 98e92751360..882ed577cf3 100644 --- a/src/test/ui/span/E0072.stderr +++ b/src/test/ui/span/E0072.stderr @@ -9,8 +9,8 @@ LL | tail: Option<ListNode>, | help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to make `ListNode` representable | -LL | tail: Box<Option<ListNode>>, - | ++++ + +LL | tail: Option<Box<ListNode>>, + | ++++ + error: aborting due to previous error diff --git a/src/test/ui/span/multiline-span-E0072.stderr b/src/test/ui/span/multiline-span-E0072.stderr index cb71a55b09e..acfc60b51f3 100644 --- a/src/test/ui/span/multiline-span-E0072.stderr +++ b/src/test/ui/span/multiline-span-E0072.stderr @@ -12,8 +12,8 @@ LL | | } | help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to make `ListNode` representable | -LL | tail: Box<Option<ListNode>>, - | ++++ + +LL | tail: Option<Box<ListNode>>, + | ++++ + error: aborting due to previous error |
