about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-07-07 05:11:51 +0200
committerGitHub <noreply@github.com>2019-07-07 05:11:51 +0200
commit719eeb260b5c870fd6bee24e5e04fcf2203e8a0e (patch)
treeaf1cf9569a8488ab1f2c8e03d6053439eb6cee4e /src/test/ui/thinlto
parentb0bd5f236d9bea38b8c9048f379fec179b09984c (diff)
parentee05fc8104e5e2fecf8f67fc3d4259d5d576a20f (diff)
downloadrust-719eeb260b5c870fd6bee24e5e04fcf2203e8a0e.tar.gz
rust-719eeb260b5c870fd6bee24e5e04fcf2203e8a0e.zip
Rollup merge of #61990 - llogiq:questionmark-test, r=QuietMisdreavus
First question mark in doctest

We have had `?` for `Result`s in doctests for some time, but so far haven't used them in doctests. With this PR, I want to start the de-`unwrap`ping of doctests – and the discussion on where to do so.

There is one downside, which is that the code can no longer be copied into a plain `main()` method, on the other hand, there should be a workable error if one does this.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions