diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-12-09 10:36:46 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-12-14 11:11:55 -0500 |
| commit | 092d04a40a3db44af2dd50e43a77449a7e56dd13 (patch) | |
| tree | 57cdb11cebf4b89aa8598c1b9874358cb4c1461e /src/librustc_driver | |
| parent | 52f7a4a351646d3837f214b5c7aec390c9b08221 (diff) | |
| download | rust-092d04a40a3db44af2dd50e43a77449a7e56dd13.tar.gz rust-092d04a40a3db44af2dd50e43a77449a7e56dd13.zip | |
Rename FnStyle trait to Unsafety.
Diffstat (limited to 'src/librustc_driver')
| -rw-r--r-- | src/librustc_driver/test.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_driver/test.rs b/src/librustc_driver/test.rs index dda3754cf73..6a50af3bc79 100644 --- a/src/librustc_driver/test.rs +++ b/src/librustc_driver/test.rs @@ -270,7 +270,7 @@ impl<'a, 'tcx> Env<'a, 'tcx> { -> Ty<'tcx> { ty::mk_closure(self.infcx.tcx, ty::ClosureTy { - fn_style: ast::NormalFn, + unsafety: ast::Unsafety::Normal, onceness: ast::Many, store: ty::RegionTraitStore(region_bound, ast::MutMutable), bounds: ty::region_existential_bound(region_bound), |
