Commit c2ffa2f 1 parent dadce25 commit c2ffa2f Copy full SHA for c2ffa2f
File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change
1
+ // Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
2
+ // file at the top-level directory of this distribution and at
3
+ // http://rust-lang.org/COPYRIGHT.
4
+ //
5
+ // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6
+ // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7
+ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8
+ // option. This file may not be copied, modified, or distributed
9
+ // except according to those terms.
10
+
1
11
//! The "Shadow Graph" is maintained on the main thread and which
2
12
//! tracks each message relating to the dep-graph and applies some
3
13
//! sanity checks as they go by. If an error results, it means you get
Original file line number Diff line number Diff line change @@ -430,7 +430,9 @@ impl<'tcx> CrateStore<'tcx> for DummyCrateStore {
430
430
431
431
// resolve
432
432
fn def_key ( & self , def : DefId ) -> hir_map:: DefKey { bug ! ( "def_key" ) }
433
- fn relative_def_path ( & self , def : DefId ) -> Option < hir_map:: DefPath > { bug ! ( "relative_def_path" ) }
433
+ fn relative_def_path ( & self , def : DefId ) -> Option < hir_map:: DefPath > {
434
+ bug ! ( "relative_def_path" )
435
+ }
434
436
fn variant_kind ( & self , def_id : DefId ) -> Option < VariantKind > { bug ! ( "variant_kind" ) }
435
437
fn struct_ctor_def_id ( & self , struct_def_id : DefId ) -> Option < DefId >
436
438
{ bug ! ( "struct_ctor_def_id" ) }
You can’t perform that action at this time.
0 commit comments