diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2017-12-10 10:23:45 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2017-12-20 14:04:52 -0500 |
| commit | 93afb1affc9f4e7616e05a3fc2fdb66e81f35d1e (patch) | |
| tree | 2c2364727393a6c76b90666c4aa7c2051871dea0 /src/test/run-pass | |
| parent | da63aaa7ab71ad5ba75340f3719591f370b847e2 (diff) | |
| download | rust-93afb1affc9f4e7616e05a3fc2fdb66e81f35d1e.tar.gz rust-93afb1affc9f4e7616e05a3fc2fdb66e81f35d1e.zip | |
connect NLL type checker to the impl trait code
We now add the suitable `impl Trait` constraints.
Diffstat (limited to 'src/test/run-pass')
| -rw-r--r-- | src/test/run-pass/impl-trait/example-calendar.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/run-pass/impl-trait/example-calendar.rs b/src/test/run-pass/impl-trait/example-calendar.rs index 0b612c2d3ff..8d035bafab7 100644 --- a/src/test/run-pass/impl-trait/example-calendar.rs +++ b/src/test/run-pass/impl-trait/example-calendar.rs @@ -8,6 +8,9 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// revisions: normal nll +//[nll] compile-flags: -Znll -Zborrowck=mir + #